[wp-trac] [WordPress Trac] #11986: <!-- comments --> wrapped in P Tags causes Line Breaks in Posts & Pages

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 23 19:32:13 UTC 2010


#11986: <!-- comments --> wrapped in P Tags causes Line Breaks in Posts & Pages
--------------------------+-------------------------------------------------
 Reporter:  NPSites       |       Owner:                
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Unassigned    
Component:  Editor        |     Version:  2.9.1         
 Severity:  normal        |    Keywords:  chicken go moo
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11986>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list