Sourcecode shortcode in comments buggy?
-
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: (visible only to logged in users)
-
-
-
-
- The topic ‘Sourcecode shortcode in comments buggy?’ is closed to new replies.