[BUGFIX] Empty subpart template if no data given 02/20702/3
authorJigal van Hemert <jigal@xs4all.nl>
Sun, 5 May 2013 10:03:12 +0000 (12:03 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 19 May 2013 14:37:17 +0000 (16:37 +0200)
commite938fdbda853952a1cefa8413ff1427d6615f782
tree743e1d73cc23121f95ff496a28eef5af8f70cdd4
parent4b47cdf94de796ebbd8d2012136ee58e7ab57750
[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/20702
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Html/HtmlParser.php
typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php [new file with mode: 0644]