Bug #9190: Add Horde_Support_Domhtml.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 20 Aug 2010 17:40:35 +0000 (11:40 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 20 Aug 2010 18:12:11 +0000 (12:12 -0600)
commit6149c84e973f3fb5c61760834c148bae4cbf04b8
treeb0989de1f45ae211028d0fb22517a45785e70938
parent0ef497b874b95ad86f581e03d12834b3e8e509c0
Bug #9190: Add Horde_Support_Domhtml.

Charset handling with libxml is less than ideal.  Abstract the
loadHTML() code out into a single place so that we can experiment and
fix things all at once instead of piecemeal.

Suggestions for where else this could reside?  It does require
Horde_String, so maybe horde/Util would be better.
framework/Mime_Viewer/lib/Horde/Mime/Viewer/Html.php
framework/Support/lib/Horde/Support/Domhtml.php [new file with mode: 0644]
framework/Support/package.xml
framework/Text_Filter/lib/Horde/Text/Filter/Html2text.php
framework/Text_Filter/lib/Horde/Text/Filter/Xss.php
framework/Text_Filter/package.xml
imp/lib/Compose.php
imp/lib/tests/mime_viewer_html.phpt
imp/view.php