/
vsysoev
/
libxml2
Обзор
Документация
Войти
/
vsysoev
/
libxml2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
result/HTML/comments2.html
15 строк
525 B
Mike Dalessio
htmlParseComment: treat `--!>` as if it closed the comment
16 дек 2020, 18:12
16 дек 2020, 18:12
29f5d20
Код
Авторство
О чём код?
<!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-incorrectly-closed-comment"> Incorrectly closed comment without a correctly closed comment </a> </h3> <div> <!--incorrectly closed comment--><span id="under-test">whatwg guidance is that this should be a DOM node</span> </div> </div> </body> </html>