[TASK] Allow new lines for description field 79/51379/2
authorGeorg Ringer <georg.ringer@gmail.com>
Sat, 21 Jan 2017 21:52:56 +0000 (22:52 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 23 Jan 2017 09:22:15 +0000 (10:22 +0100)
As the description is a textarea, the rendering should support
lines as well.

Resolves: #79406
Releases: master, 7.6
Change-Id: I8774adb07c50aed24b3d3e94e0a0b913aedeb5a9
Reviewed-on: https://review.typo3.org/51379
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/backend/Resources/Private/Templates/OuterWrapContainer.html

index 2b23daa..ce2c2ec 100644 (file)
@@ -2,7 +2,7 @@
 
 <f:if condition="{infoBoxMessage}">
        <f:be.infobox title="{infoBoxMessageTitle}">
-               {infoBoxMessage}
+               {infoBoxMessage -> f:format.nl2br()}
        </f:be.infobox>
 </f:if>