mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
html: Add newline to error message
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,8 @@ SAX.endElement(head)
|
||||
SAX.characters(
|
||||
, 5)
|
||||
SAX.startElement(body)
|
||||
SAX.error: Invalid bytes in character encodingSAX.characters(�, 3)
|
||||
SAX.error: Invalid bytes in character encoding
|
||||
SAX.characters(�, 3)
|
||||
SAX.endElement(body)
|
||||
SAX.characters(
|
||||
, 1)
|
||||
|
||||
Reference in New Issue
Block a user