Project

General

Profile

Actions

Bug #89611

closed

Linebreaks in image description / caption not working

Added by Matthias Krappitz over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Start date:
2019-11-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Gerrit Code Review over 4 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

Actions #2

Updated by Gerrit Code Review over 4 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

Actions #3

Updated by Georg Ringer over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF