From 07d79fec3f080a7580f4258a1ad680cbd5295739 Mon Sep 17 00:00:00 2001 From: Gabriel Van Zandycke Date: Sat, 22 Mar 2025 10:52:07 +0100 Subject: [PATCH] [#954] revert --- src/deser/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deser/mod.rs b/src/deser/mod.rs index 85b260e..278687f 100644 --- a/src/deser/mod.rs +++ b/src/deser/mod.rs @@ -19,7 +19,7 @@ pub fn with_new_lines(txt: String) -> String { pub fn fix_newlines(txt: &str) -> String { if txt.contains(NEWLINE_ESCAPE_CHAR) { (*NEWLINE_REGEX) - .replace_all(txt.replace(LINE_SEPARATOR, "\n").as_str(), "") + .replace_all(txt.replace(LINE_SEPARATOR, " ").as_str(), "") .to_string() } else { txt.to_string()