mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00

See guidance provided on abrutply-closed comments here: https://html.spec.whatwg.org/multipage/parsing.html#parse-error-abrupt-closing-of-empty-comment
19 lines
593 B
HTML
19 lines
593 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<html>
|
|
<body>
|
|
<div>
|
|
<h3>
|
|
<a href="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-abrupt-closing-of-empty-comment">
|
|
Abruptly closed comment
|
|
</a>
|
|
</h3>
|
|
<div>
|
|
<!---->the previous node should be an empty comment, and this should be a text node-->
|
|
</div>
|
|
<div>
|
|
<!---->the previous node should be an empty comment, and this should be a text node-->
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|