HTML comments in post/page content get wrapped in P tags
|Reported by:||NPSites||Owned by:|
I don't know if someone already caught this i had mentioned it to someone in the #chat but
When you write a post or a page and include comment html tags
the comments end up being wrapped in <p> tags
<p><!-- comment --></p>
An older plugin i use makes use of comment tags to know where to insert content but comments may be used for other reasons inside posts.
the more comments you add
the more line breaks errr paragraph breaks
additionally the plugin I was using could not pickup the comment tag and insert the content.
Change History (2)
- Keywords chicken go moo removed
- Milestone changed from Unassigned to Future Release
- Summary changed from <!-- comments --> wrapped in P Tags causes Line Breaks in Posts & Pages to HTML comments in post/page content get wrapped in P tags