Project

General

Profile

Bug #24349 » 16760.diff

Administrator Admin, 2010-12-21 09:24

View differences:

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();
(2-2/5)