[wp-trac] [WordPress Trac] #20400: clean_pre() fails unit tests for stripping '<br/>' and '<br />'

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 9 20:04:29 UTC 2012


#20400: clean_pre() fails unit tests for stripping '<br/>' and '<br />'
--------------------------+-----------------
 Reporter:  markjaquith   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  3.4
Component:  Formatting    |    Version:
 Severity:  minor         |   Keywords:
--------------------------+-----------------
 {{{clean_pre()}}} only strips {{{<br />}}} and fails to strip HTML4/5
 style {{{<br>}}} and self-closing-but-without-a-space style {{{<br/>}}}.

 Two unit tests fail because of this.

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


More information about the wp-trac mailing list