X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=data1%2Fd1_write.c;h=69e6f8db2372b8f252cf60f2270f5edcc71b8b7b;hp=003bc152663d957589250422a19a2967814ea0e7;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hpb=0052fb5520062c328006dc3537f39d28e88f3579 diff --git a/data1/d1_write.c b/data1/d1_write.c index 003bc15..69e6f8d 100644 --- a/data1/d1_write.c +++ b/data1/d1_write.c @@ -175,7 +175,7 @@ static int nodetoidsgml(data1_node *n, int select, WRBUF b, int col, while (l) { int wlen; - + while (l && d1_isspace(*p)) p++, l--; if (!l) @@ -230,9 +230,9 @@ static int nodetoidsgml(data1_node *n, int select, WRBUF b, int col, char *data1_nodetoidsgml (data1_handle dh, data1_node *n, int select, int *len) { WRBUF b = data1_get_wrbuf (dh); - + wrbuf_rewind(b); - + if (!data1_is_xmlmode (dh)) { wrbuf_puts (b, "<");