summaryrefslogtreecommitdiff
path: root/entities.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-06-13 10:05:56 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-06-13 10:05:56 +0000
commit8265a18a6afe22ac8863a6c125681b168c331b2b (patch)
tree513290e2f63a1d825cd24266d6c44a9938210593 /entities.c
parent8a469171206edc0dbb25d115b7454c6e599ab1c5 (diff)
downloadlibxml2-8265a18a6afe22ac8863a6c125681b168c331b2b.tar.gz
do not generate &quot; for " outside of attributes this changes the output
* entities.c: do not generate &quot; for " outside of attributes * result//*: this changes the output of some tests Daniel
Diffstat (limited to 'entities.c')
-rw-r--r--entities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/entities.c b/entities.c
index d108df85..1886d530 100644
--- a/entities.c
+++ b/entities.c
@@ -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';