- From: Huajun Zeng <i-hjzeng@microsoft.com>
- Date: Thu, 26 Apr 2001 09:12:53 +0800
- To: <html-tidy@w3.org>
A routine in function GetCData in lexer.c will run better when I insert a new line(as following) into it. No error message I've got with the original code, but I just watch out the memory buffer and found something not good enough. ... else if (c == '>' && start >= 0) { if (((len = lexer->lexsize - start) == wstrlen(container->element)) && wstrncasecmp(lexer->lexbuf+start, container->element, len) == 0) { lexer->txtend = start - 2; lexer->lexsize = start - 2; //the line I added break; } ... }
Received on Wednesday, 25 April 2001 21:15:17 UTC