From 742112b28be7bebcfe2925d9a4c94c051e99fc03 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Mar 2013 15:31:49 +0200 Subject: Add newline after closing root element tag --- genx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/genx.c b/genx.c index 8a1e8e3..75c3b49 100644 --- a/genx.c +++ b/genx.c @@ -2088,6 +2088,9 @@ genxStatus genxEndDocument(genxWriter w) if (w->sequence != SEQUENCE_POST_DOC) return w->status = GENX_SEQUENCE_ERROR; + /* Write a newline after the closing tag. */ + SendCheck (w, "\n"); + if ((w->status = (*w->sender->flush)(w->userData)) != GENX_SUCCESS) return w->status; -- cgit v1.1