diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-06-13 10:05:56 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-06-13 10:05:56 +0000 |
commit | 8265a18a6afe22ac8863a6c125681b168c331b2b (patch) | |
tree | 513290e2f63a1d825cd24266d6c44a9938210593 /entities.c | |
parent | 8a469171206edc0dbb25d115b7454c6e599ab1c5 (diff) | |
download | libxml2-8265a18a6afe22ac8863a6c125681b168c331b2b.tar.gz |
do not generate " for " outside of attributes this changes the output
* entities.c: do not generate " for " outside of attributes
* result//*: this changes the output of some tests
Daniel
Diffstat (limited to 'entities.c')
-rw-r--r-- | entities.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -632,6 +632,7 @@ xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input) { *out++ = 'm'; *out++ = 'p'; *out++ = ';'; +#if 0 } else if (*cur == '"') { *out++ = '&'; *out++ = 'q'; @@ -639,7 +640,6 @@ xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input) { *out++ = 'o'; *out++ = 't'; *out++ = ';'; -#if 0 } else if ((*cur == '\'') && (!html)) { *out++ = '&'; *out++ = 'a'; |