Takes HTML and converts it to formatted, plain text.
Parameters:
charset -- The charset to use for html_entity_decode() calls. width -- The wrapping width. wrap -- Whether to wrap the text or not.
$Horde: framework/Text_Filter/Filter/html2text.php,v 1.4.10.26 2010-10-15 15:14:47 jan Exp $
Copyright 2003-2004 Jon Abernathy <jon@chuggnutt.com> Original source: http://www.chuggnutt.com/html2text.php Copyright 2004-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Text_Filter/Filter/html2text.php (line 29)
Text_Filter | --Text_Filter_html2text
Filter parameters.
Returns a hash with replace patterns.
Executes any code necessaray after applying the filter patterns.
Executes any code necessaray before applying the filter patterns.
Replaces blockquote tags with > quotes.
Returns the UTF-8 character sequence of a Unicode value.
Quotes a chunk of text.
Inherited From Text_Filter
Text_Filter::Text_Filter()
Text_Filter::factory()
Text_Filter::filter()
Text_Filter::getPatterns()
Text_Filter::postProcess()
Text_Filter::preProcess()
Documentation generated on Sun, 30 Jan 2011 05:18:14 +0000 by phpDocumentor 1.4.3