[BUGFIX] Empty subpart template if no data given 05/20505/4
authorJigal van Hemert <jigal@xs4all.nl>
Sun, 5 May 2013 10:03:12 +0000 (12:03 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 11 May 2013 19:48:06 +0000 (21:48 +0200)
commit32ef1340310750f9c2e951c5f1c19ea2f125a612
tree2a90707b3cf8652c167c10a0962ab046c153b98b
parent8842632aea1f0ebc6dc3b948e36402ad3ef50673
[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/20505
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/core/Classes/Html/HtmlParser.php
typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php [new file with mode: 0644]