Bug #62280
closedcss_styled_content include via INCLUDE_TYPOSCRIPT still not working correctly (removes closing bracket "}")
100%
Description
With https://forge.typo3.org/issues/49461
support was added to allow css_styled_content to be loaded via INCLUDE_TYPOSCRIPT.
However, that is still buggy.
The problem is the soon following
// Not the first/last linebreak char. $string = substr($newString, 1, -1);
Because TYPO3\CMS\Extbase\Utility\ExtensionUtility->configurePlugin does not add a linebreak add the end this causes the closing "}" to be removed which is a problem if TypoScript comes afterwards.
Updated by Andreas Allacher about 10 years ago
I am not even sure why we try to remove the new lines at this point but if so wouldn't something like this:
trim($newString, LF);
Maybe also with CR
be a better solution?
Updated by Gerrit Code Review almost 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37038
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37038
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37038
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37038
Updated by Gerrit Code Review over 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37038
Updated by Gerrit Code Review over 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37038
Updated by Gerrit Code Review over 9 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37038
Updated by Andreas Allacher over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 40115724193d1205d1a4aea54251de859d1e4351.
Updated by Gerrit Code Review about 9 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44724
Updated by Andreas Allacher about 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 26001810ea9aa33d59ee524898ae46a8f8f87ef1.