This also fixes a bug in the tokenizing FSM in etc.c that prevented the !doctype element from being recognized; the fix is necessary because HTML5 detection depends on checking the !doctype element.
4 lines
75 B
HTML
4 lines
75 B
HTML
<!doctype html>
|
|
<meta charset=utf-8>
|
|
<a href="example"><div>test</div></a>
|