[BUGFIX] HTMLParser doesn't remove endtag when applying rmTagIfNoAttrib 96/41596/2
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Fri, 17 Jul 2015 19:39:43 +0000 (21:39 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Tue, 21 Jul 2015 06:53:50 +0000 (08:53 +0200)
commita8d0135f86a2a57ae753aa3bc5021b3654800a52
treead6b0d041014d833a2ed027f3eb1c3f0aeaa937b
parentdae171d803bac0555b7c26ee19fce0ff062467ed
[BUGFIX] HTMLParser doesn't remove endtag when applying rmTagIfNoAttrib

Solution: Force nesting = 1 when rmTagIfNoAttrib is set on a tag.

Releases: master, 6.2
Resolves: #22871
Resolves: #50144
Change-Id: Ibdadf07d80591588c0698ed322905cc0be45fe7e
Reviewed-on: http://review.typo3.org/41596
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/core/Classes/Html/HtmlParser.php
typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php