1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

html: Don't abort on encoding errors

Always enable recovery mode when parsing HTML, so we don't raise fatal
errors.

Regressed with 462bf0b7. Fixes #947.
This commit is contained in:
Nick Wellnhofer
2025-07-10 11:20:22 +02:00
parent 3773bb3f89
commit bc0bb67b57
5 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta charset="utf-8">
</head>
<body><EFBFBD></body>
</html>