diff options
author | Michael G. Schwern <schwern@pobox.com> | 1999-11-10 12:21:46 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-11-13 18:06:54 +0000 |
commit | 7d7e76cf99e05858505bf53b2c9d61ea589e2cb6 (patch) | |
tree | 4b1e5213aec403b021b03c6e98b7e7dc9d696ca9 /pod/perlfaq9.pod | |
parent | 001ad4e054cc501178c7216407f3eeee07f02474 (diff) | |
download | perl-7d7e76cf99e05858505bf53b2c9d61ea589e2cb6.tar.gz |
[DOCPATCH 5.005_62 perlfaq9.pod] Mention HTML::FormatText
To: perl5-porters@perl.org, pod-people@perl.org
Cc: tchrist@mox.perl.com, gnat@frii.com
Message-ID: <19991110172146.A23527@athens.aocn.com>
p4raw-id: //depot/cfgperl@4569
Diffstat (limited to 'pod/perlfaq9.pod')
-rw-r--r-- | pod/perlfaq9.pod | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pod/perlfaq9.pod b/pod/perlfaq9.pod index 3da9bc1e4d..7fc0cdc3c1 100644 --- a/pod/perlfaq9.pod +++ b/pod/perlfaq9.pod @@ -77,7 +77,9 @@ stamp prepended. =head2 How do I remove HTML from a string? The most correct way (albeit not the fastest) is to use HTML::Parser -from CPAN (part of the HTML-Tree package on CPAN). +from CPAN (part of the HTML-Tree package on CPAN). Another correct +way is to use HTML::FormatText which not only removes HTML but also +attempts to do a little simple formatting of the resulting plain text. Many folks attempt a simple-minded regular expression approach, like C<s/E<lt>.*?E<gt>//g>, but that fails in many cases because the tags |