Bug #24349 » typo3core_bugfix_16760_trunk.patch
t3lib/class.t3lib_parsehtml.php (copie de travail) | ||
---|---|---|
// rmTagIfNoAttrib
|
||
if ($endTag || trim($tagParts[1]) || !$tags[$tagName]['rmTagIfNoAttrib']) {
|
||
$setTag = !$tags[$tagName]['rmTagIfNoAttrib'];
|
||
$setTag = 1;
|
||
// Remove this closing tag if $tagName was among $TSconfig['removeTags']
|
||
if ($endTag && $tags[$tagName]['allowedAttribs'] === 0 && $tags[$tagName]['rmTagIfNoAttrib'] === 1) {
|
||
$setTag = 0;
|
||
}
|
||
if ($tags[$tagName]['nesting']) {
|
||
if (!is_array($tagRegister[$tagName])) {
|
||
$tagRegister[$tagName] = array();
|