#95392HTMLparser don't remove closing tag
Description
Hello dear Core Team,
im using this configuration inside a TYPO3 10.4.20 Composer installation:
// Remove any 'shy' classes from <span> elements: lib.parseFunc_RTE.nonTypoTagStdWrap.HTMLparser.tags.span.fixAttrib.class.removeIfEquals = shy // Remove all <span> elements which have no attribute: lib.parseFunc_RTE.nonTypoTagStdWrap.HTMLparser.rmTagIfNoAttrib = span
when there are nested span tags we have stuff like this happening
The DB entry shows
<p><span class="big">Wir suchen Verstä<span class="shy">­</span>rkung für unser Team und freuen uns darauf Sie kennen zu lernen !</span></p>
and its rendered after passing through the parseFunc to this
<p><span class="big">Wir suchen Verstä</span>rkung für unser Team und freuen uns darauf Sie kennen zu lernen !</p>
Sebastian Klein wrote some more information about this here:
https://github.com/sebkln/linebreak/issues/7
Thanks a lot for your hard work.
Reviews 1
Related issues 1
History 45
-
Oliver Hader changed category <span data-processor="relativetime" data-value="2021-11-05T18:12:12+00:00" > 11/05/21, 18:12 </span>
-
Oliver Pfaff commented <span data-processor="relativetime" data-value="2021-11-10T08:12:39+00:00" > 11/10/21, 08:12 </span>
Hi Oliver,
No, sorry I didn’t, this one was the first time i noticed it because there was nested styles in the sentence. In my research after this, I had found some similar forge entries like https://forge.typo3.org/issues/50144 maybe it’s connected. -
Georg Ringer changed Related to #50144 <span data-processor="relativetime" data-value="2024-07-05T19:09:16+00:00" > 07/05/24, 19:09 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 96769 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-16T18:32:53+00:00" > 10/16/26, 18:32 </span>
Did you identify, whether that worked in earlier versions and when it did stop working?