Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [nir] clean description

Quote Reply
Re: [nir] clean description In reply to
Try this global:

Code:
sub {
use HTML::Parse;
use HTML::FormatText;
my $plain_text = HTML::FormatText->new->format(parse_html($_[0]));
return $plain_text;
}

This will require you to have the modules HTML::Parse and HTML::FormatText installed (if they are not, your host should be able to do it easily for you)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Apr 20, 2009, 8:33 AM
Subject Author Views Date
Thread clean description nir 6143 Apr 20, 2009, 6:05 AM
Thread Re: [nir] clean description
Andy 5948 Apr 20, 2009, 6:22 AM
Post Re: [Andy] clean description
nir 5940 Apr 20, 2009, 6:42 AM
Thread Re: [Andy] clean description
nir 5938 Apr 20, 2009, 7:12 AM
Thread Re: [nir] clean description
Andy 5964 Apr 20, 2009, 7:16 AM
Thread Re: [Andy] clean description
nir 5918 Apr 20, 2009, 8:32 AM
Thread Re: [nir] clean description
Andy 5921 Apr 20, 2009, 8:36 AM
Post Re: [Andy] clean description
Wychwood 5907 Apr 20, 2009, 4:11 PM