Opened 17 years ago

Closed 17 years ago

#200 closed Bug (duplicate)

Self-closing XHTML tags parse wrongly

Reported by: Brian Klug Owned by:
Priority: Must have (possibly next milestone) Milestone:
Component: General Version:
Keywords: Cc:


This bug is affecting many users. The HTML in question may be being introduced when people cut & paste content into the editor.

  1. Load the latest build, i.e.
  1. Switch to source mode, paste this in:
<p><u><font face="Arial" /></u></p>
<p><u><font face="Arial" /></u></p>
<p><u><font face="Arial" /></u></p>
<p><u><font face="Arial" /></u></p>
  1. Switch to normal mode, and switch back. You will see:
<p><font face="Arial"><u></u></font></p>
<p><font face="Arial"><font face="Arial"><u></u></font></font></p>
<p><font face="Arial"><font face="Arial"><font face="Arial"><u></u></font></font></font></p>
<p><font face="Arial"><font face="Arial"><font face="Arial"><font face="Arial">Hello!</font></font></font></font></p>

You can also try it with DIVs and other tags, not just FONT. You can also try it without the U tags for a different test case.

Also - is there any chance the editor will be able to remove the nesting in "<font face="Arial"><font face="Arial">...</font></font>"? This bug has resulted in many pages being littered with markup - sometimes 30-40 nested font tags like this.

Change History (1)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: StyleSystem removed
Resolution: duplicate
Status: newclosed

DUP of #152

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy