Opened 13 years ago

Closed 12 years ago

#2036 closed defect (fixed)

Editor2: HTML invalidated in IE

Reported by: guest Owned by: liucougar
Priority: high Milestone: 0.9
Component: General Version: 0.4
Keywords: editor2 invalid html Cc:
Blocked By: Blocking:

Description

When I pass valid HTML into the Editor2 in source mode and then switch to WYSIWYG mode and back my originally valid is now in valid (e.g. quotes of attributes are removed). Now I can´t use the result anymore for further processing! Example:

Original: <table id="demo" cellspacing="5" cellpadding="5">

<tr>

<td align="center">

test

</td>

</tr>

</table>

Result: <TABLE id=demo cellSpacing=5 cellPadding=5>

<TBODY>

<TR>

<TD align=middle>

test

</TD> <TD align=middle>

test2

</TD>

</TR>

</TBODY>

</TABLE>

Change History (4)

comment:1 Changed 12 years ago by dylan

Milestone: 0.4.2
Resolution: wontfix
Status: newclosed

This is a problem with using IE's isContentEditable. There's nothing we can do about this as long as their browser provides invalid markup while using their editor code.

comment:2 Changed 12 years ago by liucougar

Resolution: wontfix
Status: closedreopened

comment:3 Changed 12 years ago by liucougar

Owner: changed from anonymous to liucougar
Status: reopenednew

comment:4 Changed 12 years ago by liucougar

Milestone: 0.4.20.9
Resolution: fixed
Status: newclosed

this should have been fixed in trunk along with another bug

if not, please reopen this

(the trunk will remove all new lines in the html source when output, but it is still valid)

Note: See TracTickets for help on using tickets.