[BUGFIX] Empty subpart template if no data given 01/20701/3
authorJigal van Hemert <jigal@xs4all.nl>
Sun, 5 May 2013 10:03:12 +0000 (12:03 +0200)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Sun, 19 May 2013 15:19:48 +0000 (17:19 +0200)
commit657b2c73ec12b1ac203a7516f3343c4ca9e95c20
tree88ce558bb61bc8b9b9bf3a54f93eb5217795a027
parent6ebfaf73e25eb64288734f1cf0cfaab2698553ef
[BUGFIX] Empty subpart template if no data given

substituteMarkerAndSubpartArrayRecursive() should return an empty string
instead of the raw subpart template if no data for that subpart is given.
To clear a subpart the data can be just an empty array.

Change-Id: Ia6dd92168a86058993648c2fe4768b2cc8436cde
Resolves: #47935
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20701
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
typo3/sysext/core/Classes/Html/HtmlParser.php
typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php [new file with mode: 0644]