Actions
Bug #84520
closedstdWrap.ifBlank introduced different behavior
Start date:
2018-03-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
The patch for issue #84434 introduced a different behavior for the stdWrap.ifBlank
feature.
The current implementation now ignores whitespace characters (tab, spaces, new lines, carriage return) which was not the case in previous TYPO3 versions - as a comparison:
- TYPO3 v7: trim($content) === ''
- TYPO3 v6.2: !strlen(trim($content))
- TYPO3 v.4.5: !strlen(trim($content))
- TYPO3 v4.3: !strlen(trim($content)
Actions