bug with tag sourcecode in comments

  • Author
    Posts
  • #940816

    testbilling
    Member

    Hi,

    if I write text

    [ sourcecode light=true]
    test
    [/sourcecode]

    and after that edit the comment, the text is converted in

    [ sourcecode light=””true””]
    test
    [/sourcecode]

    if I post it and edit again, it converted in

    [sourcecode language=""""]
    test
    [/sourcecode]

    #940910

    supportbot
    Member

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

    #940911

    testbilling
    Member

    > if I write text
    read as
    if I write text in a comment and post it,

    #940912

    timethief
    Member

    Hell other,
    I don’t post source code. Does this help you? http://en.support.wordpress.com/code/posting-source-code/

    #940916

    The sourcecode shortcode does not work in comments. It only works in posts or pages.

    That said, this would be a nice feature to add for those that are writing about and working with code. The only issue would be how to let visitors know about it and how to use it, but there are always solutions.

    #940928

    testbilling
    Member

    thesacredpath,
    it is not true.

    Sourcecode works fine in comments. EDIT of comments with sourcecode does not work properly.

    #940929

    testbilling
    Member

    timethief,
    sorry did not catch you.

    > I don’t post source code.
    What do you mean?

    > Does this help you?
    You provided description of the tag sourcecode, I know this.
    The problem in EDITING of comments with the tag.

The topic ‘bug with tag sourcecode in comments’ is closed to new replies.