From d701b8176d813ebdd8d4082a6b67e4d4f448af15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20G=C3=A4rdebro?= Date: Mon, 20 Oct 2025 11:59:04 +0200 Subject: [PATCH] Removed unnecessary string trim in the GetText methods for the Cell and TextChunk classes. --- Tabula/Cell.cs | 2 +- Tabula/TextChunk.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tabula/Cell.cs b/Tabula/Cell.cs index 24a53c7..4f73ab0 100644 --- a/Tabula/Cell.cs +++ b/Tabula/Cell.cs @@ -81,7 +81,7 @@ public override string GetText(bool useLineReturns) sb.Append(tc.GetText()); curTop = tc.Bottom; } - return sb.ToString().Trim(); + return sb.ToString(); } /// diff --git a/Tabula/TextChunk.cs b/Tabula/TextChunk.cs index 9831808..8dd31fb 100644 --- a/Tabula/TextChunk.cs +++ b/Tabula/TextChunk.cs @@ -244,7 +244,7 @@ public override string GetText() sb.Append(te.GetText()); } - return sb.ToString().Normalize(NormalizationForm.FormKC).Trim(); + return sb.ToString().Normalize(NormalizationForm.FormKC); } ///