From ed78c8facb5067b791d11400b0f29a4d163b1ad4 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Wed, 15 Nov 2023 18:39:44 +0100 Subject: [PATCH] Ods: small fixes --- Elwig/Helpers/Export/Ods.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Elwig/Helpers/Export/Ods.cs b/Elwig/Helpers/Export/Ods.cs index e8cd93a..be056b1 100644 --- a/Elwig/Helpers/Export/Ods.cs +++ b/Elwig/Helpers/Export/Ods.cs @@ -93,12 +93,7 @@ namespace Elwig.Helpers.Export { """); for (int i = 1; i <= 100; i++) { - await Content.WriteAsync($""" - - - - - """); + await Content.WriteAsync($" \r\n"); } await Content.WriteAsync(""" @@ -226,7 +221,7 @@ namespace Elwig.Helpers.Export { await Content.WriteAsync(" \r\n"); foreach (var (data, units) in row.Zip(colUnits)) { if (data is Array a) { - await Content.WriteAsync(i < a.Length ? FormatCell(a.GetValue(i), units: units) : $" \r\n"); + await Content.WriteAsync(i < a.Length ? FormatCell(a.GetValue(i), units: units) : $" \r\n"); } else { await Content.WriteAsync(FormatCell(data, rowSpan: i == 0 ? rowNum : 1, isCovered: i > 0, units: units)); }