[wp-trac] [WordPress Trac] #23375: Bug in <p></p>

WordPress Trac noreply at wordpress.org
Sun Feb 3 12:27:37 UTC 2013


#23375: Bug in <p></p>
-----------------------------+--------------------------
 Reporter:  Looimaster       |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Editor
  Version:  3.5.1            |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 We all know that WordPress adds unwanted <p> and </p> everywhere which is
 alone a frustrating bug for me.

 But if you do something like this manually:
 <p>test <samp>test2</samp> test3</p>

 Then it will be displayed like:
 <p>test <samp>test2</samp></p><p>test3</p>

 But this...:
 <p>test <b>test2</b> test3</p>

 ...will be displayed like:
 <p>test <b>test2</b> test3</p>

 It performs wrong match of </p> with </samp>.

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


More information about the wp-trac mailing list