AccessViolationException thrown from tidyParseString
Status: Beta
Brought to you by:
fcarlier
Malformed HTML can cause tidyParseString throws an AccessViolationException.
Such HTML is given below. The culprit is the extra </form> tag. Moreover, changing </form> to </p> or </div> or </span> or... makes the exception go away.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<table>
<tr>
<td>
</form>
</td>
</tr>
</table>
</body>
</html>