[wp-trac] [WordPress Trac] #3363: <em> tags applied across line breaks produce invalid XHTML

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 16 22:47:57 GMT 2006


#3363: <em> tags applied across line breaks produce invalid XHTML
--------------------------+-------------------------------------------------
 Reporter:  upekshapriya  |       Owner:  anonymous
     Type:  defect        |      Status:  new      
 Priority:  normal        |   Milestone:           
Component:  General       |     Version:  2.0.5    
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 Putting break characters in the middle of <em> italicised text produces
 invalid XHTML. Wordpress appears to ignore the <em> </em> and treat them
 as ordinary characters.

 Some text before an italicised quote.  <em> &quot;Some text before a break
 character. <br />  <br /> Another paragraph that hardly ends.<br />  <br
 /> Lots more text that goes on and on.&quot; </em>

 becomes:

 <p> Some text before an italicised quote.  <em> &quot;Some text before a
 break character. </p>

 <p> Another paragraph that hardly ends.</p>
 <p> Lots more text that goes on and on.&quot; </em>
 </p>



 Some more<em> text

 separated by breaks not put in manually but</em> in the editor

 becomes:

 <p>Some more<em> text </p>
 <p>separated by breaks not put in manually but</em> in the editor
 </p>

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


More information about the wp-trac mailing list