summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xml2tsv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/xml2tsv.c b/xml2tsv.c
index 298d0c5..5725531 100644
--- a/xml2tsv.c
+++ b/xml2tsv.c
@@ -177,7 +177,11 @@ xmltagend(XMLParser *x, const char *t, size_t tl, int isshort)
if (strcmp(t, tag)){
fprintf(stderr, "Error: tag-end '%s' closes tag '%s'", t, tag);
}
- /* printf("\n"); */
+
+ if (isshort) {
+ printf("\n");
+ print_cur_str(stdout, &st);
+ }
}
void