JSON negative number patch
This commit is contained in:
parent
3c41a79102
commit
23e40384f7
4 changed files with 11 additions and 13 deletions
|
|
@ -1104,7 +1104,8 @@ xmltree2cbuf(cbuf *cb,
|
|||
|
||||
for (i=0; i<level*XML_INDENT; i++)
|
||||
cprintf(cb, " ");
|
||||
cprintf(cb, "%s", xml_type2str(xml_type(x)));
|
||||
if (xml_type(x) != CX_BODY)
|
||||
cprintf(cb, "%s", xml_type2str(xml_type(x)));
|
||||
if (xml_namespace(x)==NULL)
|
||||
cprintf(cb, " %s", xml_name(x));
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue