[TYPO3-english] remove whitespaces and newlines from frontend output

Ismael Hidalgo isiesp at web.de
Thu Nov 18 17:30:29 CET 2010


Hi

is there a way to get my frontend output into one line? i don't no how to get parseFunc hooked up to use stripNL? maybe i am wrong about stripNL and there is a different way to remove whitespaces and newlines?

snippet

content = CONTENT
content {
 table = tt_content
 renderObj = COA
 renderObj {
 10 = TEXT
 10.dataWrap = <div class="element">{field:bodytext}</div>
 }
}

output

...
<ul>
 <li>foo</li>
 <li>bar</li>
<ul></div>...

=> <ul><li>foo</li><li>bar... would be nice

thanks

ismael
___________________________________________________________
Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02


More information about the TYPO3-english mailing list