From: Hypolite Petovan Date: Tue, 13 Feb 2018 03:37:30 +0000 (-0500) Subject: Add paragraph to BBCode conversion of [quote] X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4bc1672921836506550a29e97c172c57fd7ddc3d;p=friendica.git Add paragraph to BBCode conversion of [quote] --- 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); }