diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-08 15:31:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-08 15:31:49 +0200 |
commit | 742112b28be7bebcfe2925d9a4c94c051e99fc03 (patch) | |
tree | 85cd57f87398d9548ac625dc0e0792c9c18d7b71 | |
parent | c2fdf95d6870ce661ecc97f955c98d5323d28315 (diff) |
Add newline after closing root element tag
-rw-r--r-- | genx.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |