Commit 787afe21 authored by Xavier Perseguers's avatar Xavier Perseguers
Browse files

Fixed bug #1318: 'removeTag' does not remove closing tags

git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_3-8@9144 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 6d10d94c
2010-10-18 Xavier Perseguers <typo3@perseguers.ch>
* Fixed bug #1318: 'removeTag' does not remove closing tags
2005-11-14 Michael Stucki <michael@typo3.org>
* Release of TYPO3 3.8.1
......
......@@ -708,7 +708,7 @@ class t3lib_parsehtml {
// rmTagIfNoAttrib
if ($endTag || trim($tagParts[1]) || !$tags[$tagName]['rmTagIfNoAttrib']) {
$setTag=1;
$setTag = !$tags[$tagName]['rmTagIfNoAttrib'];
if ($tags[$tagName]['nesting']) {
if (!is_array($tagRegister[$tagName])) $tagRegister[$tagName]=array();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment