Octavian Râşniţă wrote:
> Hi,
> 
>     Is there a filter for TT that gets an HTML string as input and returns 
> the text outside of the HTML elements?
> 
> Something like:
> 
> [% "<b>text</b>" | TheFilter %]
> 
> should return just "text".

There's also at least one plugin that adds this:
http://search.cpan.org/~gsimmons/Template-Plugin-HTML-Strip-0.01/lib/Template/Plugin/HTML/Strip.pm

-- Josh

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to