Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1103 closed defect (fixed)

[TransformInnerHTML] IE breaks singlet attributes starting with "no"

Reported by: guest Owned by: wymsy
Priority: normal Milestone: Version 1.0
Component: Plugin_GetHtml Version: trunk
Severity: normal Keywords: ie, transforminnerhtml, gethtml, nowrap


IE breaks table cells that contain the nowrap attribute.

This is how it should look (and actually looks in FF)

<td nowrap="nowrap">&nbsp;</td>

and this is what IE makes out of it after switching from WYSIWYG mode to HTML view or submitting the page

<td nowrap="nowrap"wrap</td>

Everytime you switch view modes the code gets messed up more and you'll end up with something like this

<td nowrap="nowrap"wrapwrapwrap<wrapwraptd>

Tested with IE 6 and IE 7 and affects all releases (tested on nightly build here too)

Change History (3)

comment:1 Changed 13 years ago by guest

After testing another one I guess this applies to any singlet attribute.

The following code

<hr noshade="noshade" style="width: 100%" />

gets messed up too:

<hr style="WIDTH: 100%" noshade="noshade"shade

comment:2 Changed 13 years ago by wymsy

  • Resolution set to fixed
  • Status changed from new to closed

Not just any singlet, just the ones starting with "no". Fixed an incorrect back reference in changeset:919

comment:3 Changed 13 years ago by ray

  • Summary changed from IE Bug with TransformInnerHTML.js to [TransformInnerHTML] IE breaks singlet attributes starting with "no"
Note: See TracTickets for help on using tickets.