Ticket #7916 (closed Bug: fixed)
kupu breaks strong/em tags with class names, on firefox
| Reported by: | pfurman | Owned by: | duncan |
|---|---|---|---|
| Priority: | minor | Milestone: | 3.1 |
| Component: | Visual Editor | Keywords: | |
| Cc: |
Description
Kupu on Firefox 2.0.0.12 breaks tags "strong" and "em" (and maybe other?) if they contains class names. For example, try to paste this as a HTML source:
<strong class="xxx">Aa</strong> Bb <strong class="xxx">Cc</strong>
Then switch to edit view, and back again to source view. HTML will be replaced with
<strong class="xxx">Aa Bb <strong class="xxx">Cc</strong></strong>
Even stranger behaviour occurs with lists. This code:
<ul> <li><strong class="xxx">Aa</strong></li> <li><strong class="xxx">Bb</strong></li> </ul>
will be replaced with:
<ul> <li><strong class="xxx">Aa</strong></li> <li><strong class="xxx"><strong class="xxx">Bb</strong></strong></li></ul>
Each next "strong" will be multiplied. The same happens with "em" tag.
Those errors won't happen if there are single "strong" tags, without class names. They also won't occures on IE 6.
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in svn