Project

General

Profile

Actions

Bug #16480

closed

Skin creates invalid HTML markup.

Added by Peter Klein over 18 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-08-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

bug_4076_w.diff (1.49 KB) bug_4076_w.diff Administrator Admin, 2006-08-23 18:21
Actions #1

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.

Actions #2

Updated by Michael Stucki about 18 years ago

Fixed in TYPO3 4.0.2 and later.

Actions

Also available in: Atom PDF