From 4bc1672921836506550a29e97c172c57fd7ddc3d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 12 Feb 2018 22:37:30 -0500 Subject: [PATCH] Add paragraph to BBCode conversion of [quote] --- src/Content/Text/BBCode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 14f98202e7..2ea15b0641 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -1727,7 +1727,7 @@ class BBCode $endlessloop = 0; while ((strpos($text, "[/quote]")!== false) && (strpos($text, "[quote=") !== false) && (++$endlessloop < 20)) { $text = preg_replace("/\[quote=[\"\']*(.*?)[\"\']*\](.*?)\[\/quote\]/ism", - "
" . $t_wrote . "
$2
", + "

" . $t_wrote . "

$2
", $text); } -- 2.39.5