Bug #16480
closedSkin creates invalid HTML markup.
0%
Description
When the extension "t3skin" is installed, textareas gets illegal HTML markup (The CLASS attribute is added twice!)
It should either merge with the existing CLASS atribute, or override it completely, not add an extra CLASS atribute.
Here's an example of the code generated with "t3skin" installed:
<textarea name="data[sys_template]7[constants]" style="width:460px;" class="formField3" class="fixed-font enable-tab" rows="20" wrap="OFF" onchange="TBE_EDITOR_fieldChanged('sys_template','7','constants','data[sys_template]7[constants]');">
The 'class="formField3"' is added by the extension, while the 'class="fixed-font enable-tab"' is the default/original settings.
(issue imported from #M4076)
Files
Updated by Michael Stucki about 18 years ago
While digging into this I found out that it's not a bug of t3skin. The attached patch fixes the issue.