[interchange-docs] xmldocs - docelic modified refs/html2text.filter
docs at icdevgroup.org
docs at icdevgroup.org
Wed Apr 30 17:04:05 UTC 2008
User: docelic
Date: 2008-04-30 17:04:05 GMT
Modified: refs html2text.filter
Log:
* update
Revision Changes Path
1.2 xmldocs/refs/html2text.filter
rev 1.2, prev_rev 1.1
Index: html2text.filter
===================================================================
RCS file: /var/cvs/xmldocs/refs/html2text.filter,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- html2text.filter 29 May 2005 15:01:39 -0000 1.1
+++ html2text.filter 30 Apr 2008 17:04:05 -0000 1.2
@@ -1,15 +1,27 @@
__NAME__ purpose
-transform input most basic HTML input to plain-text
+transform basic HTML input to plain-text
__END__
__NAME__ description
-The filter only replaces &glos-HTML; newlines and paragraphs with ASCII
-equivalents (newlines or empty strings).
+The filter performs simple replacement of input &glos-HTML; —
+it strips the
+<literal><b></literal>,
+<literal><i></literal> and
+<literal><u></literal> tags, and replaces
+line breaks (<literal><br></literal>) and
+paragraphs (<literal><pgt;</literal>)
+with newlines.
__END__
__NAME__ notes
+Support for stripping
+<literal><b></literal>,
+<literal><<important>></literal> and
+<literal><u></literal> tags was added
+in &IC; 5.5.2.
+</para><para>
For more information on &PERL; Regular Expressions, pattern matching and
character classes, see
<citerefentry><refentrytitle>perlre</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
@@ -20,10 +32,10 @@
<programlisting><![CDATA[
[filter html2text]
<p>
-Perl is a lot of fun!
+Perl is <b>a lot</b> of <u>fun</u>!
</p>
<p>
-Interesting tricks with the language can be seen at: <br>
+Interesting tricks with <i>the language</i> can be seen at: <br>
MJD's <a href="http://perl.plover.com/">plover.com</a>.
</p>
<p>
More information about the docs
mailing list