1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

html: Add newline to error message

This commit is contained in:
Nick Wellnhofer
2025-07-10 11:23:44 +02:00
parent bc0bb67b57
commit 0c948334a8
2 changed files with 3 additions and 2 deletions

View File

@@ -420,7 +420,7 @@ invalid:
/* Only report the first error */
if ((ctxt->input->flags & XML_INPUT_ENCODING_ERROR) == 0) {
htmlParseErr(ctxt, XML_ERR_INVALID_ENCODING,
"Invalid bytes in character encoding", NULL, NULL);
"Invalid bytes in character encoding\n", NULL, NULL);
ctxt->input->flags |= XML_INPUT_ENCODING_ERROR;
}