[wp-trac] [WordPress Trac] #8912: wp_texturize breaks HTML comments in posts

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 15 22:37:52 UTC 2010


#8912: wp_texturize breaks HTML comments in posts
--------------------------+-------------------------------------------------
 Reporter:  Otto42        |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  reopened 
 Priority:  normal        |    Milestone:  3.0      
Component:  Formatting    |      Version:  2.9.2    
 Severity:  normal        |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by Viper007Bond):

 You're including extra filters in that, Otto.

 Here's what `wptexturize()` returns for that example string:

 `
 <ul><li>Hello.</li><!--<li>Goodbye.</li>&#8211;></ul>
 `

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8912#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list