[BUGFIX] Respect line breaks in media's description
As the description is using a textarea element in the backend, editors can add a multi-line text. The line breaks should be shown in the frontend as well by using f:format.nl2br. Resolves: #89611 Releases: master Change-Id: Ia2b1b2ef896004b1ec91a1719d48826efdc3fb91 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62629 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Guido Schmechel <guido.schmechel@brandung.de> Tested-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Jan Stockfisch <typo3@jan-stockfisch.de> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de>
Showing
- typo3/sysext/fluid_styled_content/Resources/Private/Partials/Media/Type/Audio.html 1 addition, 1 deletion..._content/Resources/Private/Partials/Media/Type/Audio.html
- typo3/sysext/fluid_styled_content/Resources/Private/Partials/Media/Type/Image.html 1 addition, 1 deletion..._content/Resources/Private/Partials/Media/Type/Image.html
- typo3/sysext/fluid_styled_content/Resources/Private/Partials/Media/Type/Video.html 1 addition, 1 deletion..._content/Resources/Private/Partials/Media/Type/Video.html
Please register or sign in to comment