I have access to the HTML plugin, but no access to modify anything on the 
backend to push to the template. I can't access the perl code. So I am looking 
for something that uses regex's or something built-in with the stand set of 
plugins.



--- On Fri, 5/8/09, Keith Barrette <[email protected]> wrote:

From: Keith Barrette <[email protected]>
Subject: Re: [Templates] stripping all HTML tags from some data. How?
To: "Summer" <[email protected]>
Cc: [email protected]
Date: Friday, May 8, 2009, 11:31 AM

Summer wrote:
> Hello,
> 
> I previously inquired about stripping certain "html" entities, but that 
> proved ineffectual in the long run. I have found that the database has all 
> sorts of muck in it that really messes with truncated display. Suffice to say.
> 
> Is there a good way to get a chunk of data - in this case, a long text string 
> and strip all html from it? or everything and including what is between the 
> brackets <>
> 
> Please advise. I apologize for the noob questions.

HTML::Strip comes to mind

http://search.cpan.org/~kilinrax/HTML-Strip-1.06/Strip.pm

-- Keith Barrette
The Conference Exchange



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

Reply via email to