[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>
Showing
- typo3/sysext/fluid/Classes/ViewHelpers/Format/DateViewHelper.php 7 additions, 0 deletions...ysext/fluid/Classes/ViewHelpers/Format/DateViewHelper.php
- typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/DateViewHelperTest.php 1 addition, 1 deletion...luid/Tests/Unit/ViewHelpers/Format/DateViewHelperTest.php
Please register or sign in to comment