[BUGFIX] Correctly handle whitespace in format.date VH 00/45200/2
authorMarkus Klein <markus.klein@typo3.org>
Thu, 10 Dec 2015 14:23:24 +0000 (15:23 +0100)
committerFrans Saris <franssaris@gmail.com>
Fri, 11 Dec 2015 07:37:43 +0000 (08:37 +0100)
commit20c61f212bf9cca419bb0e6a29f00b83717a01ce
treeb51a976c6747d9726fefd23406d45b9160da8b99
parentbf8964a0af9cc5df325154f93ea33a65a3a298d1
[BUGFIX] Correctly handle whitespace in format.date VH

Child content may contain line breaks or other whitespace.
Trim the content before processing it.

Resolves: #72152
Releases: master
Change-Id: Ibf5d3fb2c5ca74bb045c4278f0852c47e2131eab
Reviewed-on: https://review.typo3.org/45200
Reviewed-by: Felix Rauch <rauch@skaiamail.de>
Tested-by: Felix Rauch <rauch@skaiamail.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/fluid/Classes/ViewHelpers/Format/DateViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/DateViewHelperTest.php