TinyMCE converts cellspacing to cellSpacing
Posted: Tue Mar 25, 2008 9:48 pm
Whenever I edit some XHTML with TinyMCE in CMSMS I find it always converts "cellspacing" to "cellSpacing" which is very annoying because this isn't XHTML compliant. There are other attributes which get converted like this such as "cellPadding" and "vAlign".
For instance, I edit some table XHTML in non-WYSIWYG mode, turn WYSIWYG mode on, then off again. cellspacing is then renamed to cellSpacing. The same happens when the XHTML code is submitted to the database.
This behaviour seems to only happen in Internet Explorer 7 and not Firefox 2, so this may be an Internet Explorer 7 bug, and not fixable by CMSMS code changes.
For instance, I edit some table XHTML in non-WYSIWYG mode, turn WYSIWYG mode on, then off again. cellspacing is then renamed to cellSpacing. The same happens when the XHTML code is submitted to the database.
This behaviour seems to only happen in Internet Explorer 7 and not Firefox 2, so this may be an Internet Explorer 7 bug, and not fixable by CMSMS code changes.