diff --git a/MeshLib/IO/XDMF/writeXdmf.cpp b/MeshLib/IO/XDMF/writeXdmf.cpp
index 9377401ce074bae0768b54135a55fdc515354349..741eed581835e79faa96830d62ba8ed502e75b45 100644
--- a/MeshLib/IO/XDMF/writeXdmf.cpp
+++ b/MeshLib/IO/XDMF/writeXdmf.cpp
@@ -218,10 +218,10 @@ std::function<std::string(std::vector<double>)> write_xdmf(
             R"(
 <Grid Name="Grid" GridType="Uniform">
     <Time Value="{time_value:g}"/>
-    {geometry}
-    {topology}
-    {fix_attributes}
-    {variable_attributes}
+{geometry}
+{topology}
+{fix_attributes}
+{variable_attributes}
 </Grid>)",
             "time_value"_a = time_value, "geometry"_a = geometry,
             "topology"_a = topology, "fix_attributes"_a = constant_attributes,