Does the_content() adds extra <p> & <br> to HTML comments?
-
I have some HTML comments in the post.
When rendered, the comments are enclosed into a paragraph with an additional line break like:<p><!--mycomment!--><br /></p>
Is it WordPress or some plugin that does so? How to disable this beahviour?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Does the_content() adds extra <p> & <br> to HTML comments?’ is closed to new replies.