From 3a8f5d1e35a8298fad616c7a47aba50dcc4c6dd7 Mon Sep 17 00:00:00 2001 From: Tobias Feijten Date: Tue, 11 Jun 2024 20:31:36 +0200 Subject: [PATCH] Fix `\n` being escaped to `\\n`, leading to no newlines in actual text --- src/Presentation/Component/Property/Value/TextValue.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Presentation/Component/Property/Value/TextValue.php b/src/Presentation/Component/Property/Value/TextValue.php index abd2ed57..99d2b9ca 100644 --- a/src/Presentation/Component/Property/Value/TextValue.php +++ b/src/Presentation/Component/Property/Value/TextValue.php @@ -26,6 +26,7 @@ class TextValue extends Value ';' => '\\;', ',' => '\\,', "\n" => '\\n', + '\\\\n' => '\\n', ]; /**