PDA

View Full Version : [4.0.1] HtmlEditor messes up html when adding (ordered)list



JorisA
21 May 2011, 12:01 AM
When I click the ordered list it messes up the whole html, for example when I type some random random text this results in the following as expected:


Lerem ipsum blablabla<br><b>test</b><br>test<br>lalala<br><br>

After that on a empty line I click the unordered list icon and type 2 more lines. This changes the html value in this:


<font face="tahoma, arial, verdana, sans-serif"><span style="font-size: 12px;">Lerem ipsum blablabla</span></font><br><b style="color: rgb(0, 0, 0); font-family: tahoma, arial, verdana, sans-serif; font-size: 12px; ">test</b><br><font face="tahoma, arial, verdana, sans-serif"><span style="font-size: 12px;">test</span></font><br><font face="tahoma, arial, verdana, sans-serif"><span style="font-size: 12px;">lalala</span></font><br><ul><li><font face="tahoma, arial, verdana, sans-serif"><span style="font-size: 12px;">foo</span></font><br>bar</li></ul>

Also not that only 1 bullet is created, and the font gets messed up:
http://www.sencha.com/forum/attachment.php?attachmentid=26191&d=1305964873

I'm using chrome 11.0.696.68