
htmlparser
kong-kong
记录流水账
展开
-
Why aren't <FONT>, <B>, etc. tags fully nested?
Authors are sometimes lazy and often fail to close some tags as required by the HTML standard. This causes some problems for the parser. For this heuristic reason, not all possible tags are registe...原创 2008-09-27 16:50:58 · 215 阅读 · 0 评论 -
处理没有正确结尾的html标签
/** * 处理没有结尾的html标签 * for example: <span>aaaa<div>ccc * @param html * @return <span>aaaa<div>ccc</div></span> */ public static String dealWrongHtml(String htm...原创 2008-09-27 16:58:50 · 559 阅读 · 0 评论