From: Timo Heister Date: Sun, 23 Jan 2022 21:36:08 +0000 (-0500) Subject: VTU: put xml closing element on separate line X-Git-Tag: v9.4.0-rc1~531^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=535f6d650bbad176d213fa7d221eaf4ee86f0380;p=dealii.git VTU: put xml closing element on separate line We try to output VTU XML data in somewhat pretty way like [BASE64 data] but we were missing a newline after writing scalar base64 data. Fix this. --- diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 92490893f7..05622a848f 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -6189,6 +6189,7 @@ namespace DataOutBase } // loop over nodes vtu_out << data; + out << "\n"; out << " \n"; } // loop over ranges @@ -6211,6 +6212,7 @@ namespace DataOutBase std::vector data(data_vectors[data_set].begin(), data_vectors[data_set].end()); vtu_out << data; + out << "\n"; out << " \n"; }