Fix a bug in the white-space remover.
This commit is contained in:
parent
3d006bcac3
commit
49efad87df
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111876
@ -163,7 +163,7 @@ CharData(void *userData , const XML_Char *s , int len)
|
||||
b++;
|
||||
while (isspace(*e) && e > b)
|
||||
e--;
|
||||
if (e != b)
|
||||
if (e != b || *b)
|
||||
sbuf_bcat(mt->cur->cont, b, e - b + 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user