From 47b76507f3255c7b06a65cd2f9e84269c30e9901 Mon Sep 17 00:00:00 2001
From: Edward Brown <innovative.fowler@mask.pro.fmtr.dev>
Date: Thu, 9 Jan 2025 13:43:02 +0000
Subject: [PATCH] Make flatten string tool strip output

---
 fmtr/tools/string_tools.py | 1 +
 fmtr/tools/version         | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/fmtr/tools/string_tools.py b/fmtr/tools/string_tools.py
index 453e788..203bf10 100644
--- a/fmtr/tools/string_tools.py
+++ b/fmtr/tools/string_tools.py
@@ -100,6 +100,7 @@ def flatten(raw):
     """
     lines = raw.splitlines()
     text = ' '.join(lines)
+    text = text.strip()
     return text
 
 
diff --git a/fmtr/tools/version b/fmtr/tools/version
index 337a6a8..e5a4a5e 100644
--- a/fmtr/tools/version
+++ b/fmtr/tools/version
@@ -1 +1 @@
-1.0.8
\ No newline at end of file
+1.0.9
\ No newline at end of file