Opened 18 years ago
Closed 17 years ago
#3363 closed defect (bug) (wontfix)
<em> tags applied across line breaks produce invalid XHTML
Reported by: | upekshapriya | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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> "Some text before a break character. <br /> <br /> Another paragraph that hardly ends.<br /> <br /> Lots more text that goes on and on." </em>
becomes:
<p> Some text before an italicised quote. <em> "Some text before a break character. </p>
<p> Another paragraph that hardly ends.</p>
<p> Lots more text that goes on and on." </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>
You can't put <em>'s in block level. I see no problem.