Sourcecode shortcode in comments buggy?

  • Author
    Posts
  • #1574716

    iqatrophie
    Member

    I recently tried to post some html code in a comment on my testblog. The comment looked like this:

    [code language="html"]<div>
    Link1
    Link2<p></p>
    <div>Sample text</div>
    </div>[/code]

    It worked fine. But upon editing the comment, WordPress automatically adds another pair of quotes to the language attribute.

    [code language=""html""]

    Finally after saving the comment the html string is stripped out completely (see below) and is broken.

    [code language=""""]

    Cheers
    Martin(IQ)

    The blog I need help with is iqatrophie.wordpress.com.

    #1574881

    jackiedana
    Member

    Hi iqatrophie, I’ve reported this bug to our developers. Thanks for catching it!

    #1574938

    iqatrophie
    Member

    Thanks Jackie. Happy holidays and a happy new year to you. :)

    #1574985

    iqatrophie
    Member

    Any news on this issue? I’m just asking before the topic is closed automatically. ;)

    #1574986

    jackiedana
    Member

    It doesn’t look like it’s been tackled yet.

The topic ‘Sourcecode shortcode in comments buggy?’ is closed to new replies.