Bug #89611
closedLinebreaks in image description / caption not working
100%
Description
In TYPO3 9.5.11 when using EXT:fluid_styled_content and the "text with image" or "text with media" content elements when entering a multiline image description in the FAL image, the line breaks are not being rendered with br tags but just as normal text line breaks, so they have no visual effect in the html output in frontend.
IMHO in the following three partials there needs to be a f:format.nl2br viewhelper around the {file.description}:
EXT:fluid_styled_content/Resources/Private/Partials/Media/Type/Audio.html
EXT:fluid_styled_content/Resources/Private/Partials/Media/Type/Image.html
EXT:fluid_styled_content/Resources/Private/Partials/Media/Type/Video.html
Updated by Gerrit Code Review almost 5 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/62629
Updated by Gerrit Code Review almost 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62629
Updated by Georg Ringer almost 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 44ce3500b6b66bb9e0a7855821060c64aadf76f4.