[TYPO3-mvc] Problem with html in locallang

chris Wolff chris at connye.com
Wed Mar 13 15:13:00 CET 2013


hi Stefan,

erstmal solltest du den part im label index in CDATA wrappen dadurch
wird das local lang dann wieder XML conform.

ungefähr so:
<label index="emails.copyright"><![CDATA[<br/><br/>text text text<br
/> text text
text <br ><br /><br />]]></label>

im fluid template musst du f:format.raw verwenden dann werden die
daten unverändert ausgeben.

gruss chris

2013/3/13 Stefan Kruse <besucher80 at gmx.de>:
> Hi, i need to put some html code in my locallang.xml. I try this:
>
>
>
> <label index="emails.copyright"><br/><br/>text text text<br /> text text
> text <br ><br /><br /></label>
>
>
>
> But when I use this label inside my fluid template, the text is in one line.
> The breaks are not parsed. Do I have to use it with f:format or something
> else?
>
>
>
> Thanks and regards
>
> Stefan
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



--
christian wolff - webdeveloper, tech-loving geek and typo3 enthusiast
telefon: +49 30 347 244 88
mobil:  +49 179 49 44 758
email: chris at connye.com
adresse: friedelstraße 31 - 12047 berlin

xing-profil: http://www.xing.com/profile/Christian_Wolff43
google+: https://plus.google.com/u/0/115669673917212236875/posts?hl=de
facebook: https://www.facebook.com/1stMachine
flattr: https://flattr.com/profile/1stmachine


More information about the TYPO3-project-typo3v4mvc mailing list