HTML2TEXT(1e)

NAME

html2text - Converts html text to plain text

SYNOPSIS

html2text(str,allowable)

PARAMETERS

str
The input string. allowable One can use the optional second parameter to specify tags which should not be converted.

RETURN

Returns the converted string

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

in:  res={_{html2text('$buf',"";\r

a
newline.

in:  res={_{html2text('$buf')}}.
out: res=paraòÒ ăаgraph
sednove [ http://test.com ]
is the best
a
newline.

SEE ALSO

String

AUTHOR

Written by Pusnei Sergey and Caroline Laplante, <sergey@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com