#2 htmlparser: bug parsing tag attribute without value

open
nobody
None
5
2007-05-12
2007-05-12
Anonymous
No

htmlparser: bug parsing tag attribute without value.

example:
<input type="radio" disabled name="nam" value="val">
htmlparser stops parsing this rag after 'disabled' attribute.

Fix: just place line 265 before line 262.

Patched:
Lines 262-265:
$sb .= $ch;
if (!$match) {
return $sb;
}

Discussion


Log in to post a comment.