From 74bba0b2fadc4a6e84cfcef43e17fd118b3d6d82 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Tue, 22 Jan 2019 20:50:11 +0000 Subject: [PATCH] rtrim non hard breaking lines --- src/Components/Inlines/PlainText.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Components/Inlines/PlainText.php b/src/Components/Inlines/PlainText.php index 60a350a..5912ddc 100644 --- a/src/Components/Inlines/PlainText.php +++ b/src/Components/Inlines/PlainText.php @@ -55,6 +55,8 @@ final class PlainText implements Inline $Renderables = []; $text = $this->text; + $text = \preg_replace('/(?