[TYPO3] line breaks in Typoscript

Martin Kindler kindlerm at arcor.de
Mon Jun 19 17:28:44 CEST 2006


Thanks to Peter Klein I know the answer:

use the multi-line syntax of TypoScript, i.e. put parentheses (the round
ones ()) around the value.

Example:
foo.10 = TEXT
foo.10.value (
	line 1
      line 2
)

Martin

> -----Ursprüngliche Nachricht-----
> Von: typo3-english-bounces at lists.netfielders.de 
> [mailto:typo3-english-bounces at lists.netfielders.de] Im 
> Auftrag von Nathan Lounds
> Gesendet: Montag, 19. Juni 2006 17:21
> An: 'TYPO3 English'
> Betreff: [TYPO3] line breaks in Typoscript
> 
> 
> Is there a way to let my Typoscript values have line breaks 
> and retain them in the HTML output?
> 
> # Default PAGE object:
> page = PAGE
> page.10 = TEXT
> page.10.value = 
> 	<h1>Header</h1>
> 	<h4>Sub-Header</h4>
> 	<p>How can I Typo3 to keep my HTML formatting<br />
> 	and render all four lines?</p>
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 




More information about the TYPO3-english mailing list