mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-13 07:15:30 +00:00
XML only treats space, tab, carriage return, and line feed as whitespace
characters.
This commit is contained in:
parent
8395465800
commit
7da48b7de7
@ -136,7 +136,7 @@ static int mxml_get_entity(mxml_node_t *parent, void *p,
|
||||
static inline int mxml_isspace(int ch)
|
||||
{
|
||||
return (ch == ' ' || ch == '\t' || ch == '\r' ||
|
||||
ch == '\n' || ch == '\f' || ch == '\v');
|
||||
ch == '\n');
|
||||
}
|
||||
static mxml_node_t *mxml_load_data(mxml_node_t *top, void *p,
|
||||
mxml_load_cb_t cb,
|
||||
|
Loading…
Reference in New Issue
Block a user