diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-02-23 13:52:30 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-02-23 13:52:30 +0000 |
commit | 0046c0fec2aa505a963d44de9621b6c92ccdc9e9 (patch) | |
tree | 45104f5d8718e1126a930db9b732087126028dcc /entities.c | |
parent | 40ed73b73dc47a4663db40abb4ffb42190936549 (diff) | |
download | libxml2-0046c0fec2aa505a963d44de9621b6c92ccdc9e9.tar.gz |
another fix for nodeinfo in entities problem fixed bug #106788 from James
* parser.c: another fix for nodeinfo in entities problem
* tree.c entities.c: fixed bug #106788 from James Clark
some spaces need to be serialized as character references.
Daniel
Diffstat (limited to 'entities.c')
-rw-r--r-- | entities.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -649,7 +649,7 @@ xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input) { *out++ = ';'; #endif } else if (((*cur >= 0x20) && (*cur < 0x80)) || - (*cur == '\n') || (*cur == '\r') || (*cur == '\t')) { + (*cur == '\n') || (*cur == '\t') || ((html) && (*cur == '\r'))) { /* * default case, just copy ! */ |