[wp-trac] [WordPress Trac] #33645: wpautop breaks HTML comments

WordPress Trac noreply at wordpress.org
Tue Mar 15 20:44:55 UTC 2016

#33645: wpautop breaks HTML comments
 Reporter:  Thomas Hicks                   |       Owner:  azaozz
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  4.3.1
Component:  Formatting                     |     Version:  4.2.4
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch wpautop fixed-major  |     Focuses:

Comment (by lkraav):

 Replying to [comment:12 azaozz]:
 > Also, ideally we should exclude HTML comments from wpautop completely,
 same as the content of CDATA, <script>, and <style> tags, perhaps
 similarly to how <pre> tags are handled.

 Do I read this correctly: this part was never handled, leading to #33834?

Ticket URL: <https://core.trac.wordpress.org/ticket/33645#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list