Tweak HTML regexs
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 7 Oct 2009 18:23:38 +0000 (12:23 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 7 Oct 2009 18:31:06 +0000 (12:31 -0600)
commit98de367c1c88cd1e269d765d270c10fc3b55553a
tree2c2d7b7d16c0798a251b59504bb74bc48b1d1e4b
parent737e2bf301c34ff8b245e553775ee59bf63328ed
Tweak HTML regexs

For tags, need to do a non-consuming match rather than a consuming match
or else attributes may not be caught at the beginning of a tag.

Additionally, most browsers (except Opera) have trouble with tables set
to height="100%". In these cases, the calculated height will never be
proper since the table will always grow to the given height and will
hide any text below it.  We need to strip out these definitions (100%
height for tables doesn't make much sense anyway).
imp/lib/Mime/Viewer/Html.php