diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2000-08-29 09:41:15 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2000-08-29 09:41:15 +0000 |
commit | 4948eb4fd4f0b98e978d19ead9a1368a9cc0a637 (patch) | |
tree | b6053a8854a29a8f9d994fd16ef3c37ef0509543 /testHTML.c | |
parent | e010c17d78f06af35b9977cf03f10df1e1c05aeb (diff) | |
download | libxml2-4948eb4fd4f0b98e978d19ead9a1368a9cc0a637.tar.gz |
- HTMLparser.c testHTML.c: applied two new patches from
Wayne Davison <wayned@blorf.net>
- result/HTML/*.sax: regenerated HTML SAX output
- parser.c: more cleanup.
Daniel
Diffstat (limited to 'testHTML.c')
-rw-r--r-- | testHTML.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -412,9 +412,9 @@ void charactersDebug(void *ctx, const xmlChar *ch, int len) { unsigned char output[40]; - int outlen = 30; + int inlen = len, outlen = 30; - htmlEncodeEntities(output, &outlen, ch, &len, 0); + htmlEncodeEntities(output, &outlen, ch, &inlen, 0); output[outlen] = 0; fprintf(stdout, "SAX.characters(%s, %d)\n", output, len); |