Bug #24349 » 16760.diff
t3lib/class.t3lib_parsehtml.php (working copy) | ||
---|---|---|
// 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();
|