mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2025-02-05 01:56:05 +00:00
fixes again one of the problem raised by James Clark in #106788 Daniel
* entities.c: fixes again one of the problem raised by James Clark in #106788 Daniel
This commit is contained in:
parent
c482e261ad
commit
19ab45b5a5
@ -1,3 +1,8 @@
|
||||
Wed Feb 26 16:45:39 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* entities.c: fixes again one of the problem raised by
|
||||
James Clark in #106788
|
||||
|
||||
Wed Feb 26 15:46:48 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* relaxng.c: Fixed a couple of problem raised by James Clark
|
||||
|
@ -822,6 +822,12 @@ xmlEncodeSpecialChars(xmlDocPtr doc, const xmlChar *input) {
|
||||
*out++ = 'o';
|
||||
*out++ = 't';
|
||||
*out++ = ';';
|
||||
} else if (*cur == '\r') {
|
||||
*out++ = '&';
|
||||
*out++ = '#';
|
||||
*out++ = '1';
|
||||
*out++ = '3';
|
||||
*out++ = ';';
|
||||
} else {
|
||||
/*
|
||||
* Works because on UTF-8, all extended sequences cannot
|
||||
|
Loading…
x
Reference in New Issue
Block a user