[TYPO3] Better stripHTML

Benjamin Mack benni at typo3.org
Tue Jul 8 09:18:42 CEST 2008


Hey Jan,

there is an extension from Peter flying around in the TER, called 
"pmkhtmlcrop". Maybe that one does what you need :)

all the best,
benni.
-SDG-

Jan Bednarik wrote:
> 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?
> 


More information about the TYPO3-english mailing list