[TYPO3] Better stripHTML

Jan Bednarik info at bednarik.org
Mon Jul 7 21:32:44 CEST 2008


Hey,

I've got bullet list in RTE and I need to create a teaser from it for 
list view. Now the source from the RTE is:

...foo</li><li>Boo...

and stripHTML produces

fooBoo

while I'd like to have

foo Boo

any ideas? I guess I'd need to create my own userFunc that would strip 
HTML instead of default function. Or is it possible to add line breaks 
between the LI tags?

-- 
Jan Bednarik
www.bednarik.org - web about Typo3 in czech


More information about the TYPO3-english mailing list