From 5da34450a39f24fa9e667fea0bde4ec11d338e96 Mon Sep 17 00:00:00 2001
From: Yannick
Date: Tue, 12 Jun 2018 15:51:26 +0200
Subject: [PATCH] #1668 Fixes a missing space in quote titles
---
include/parser.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/parser.php b/include/parser.php
index 783dbe008..952865072 100755
--- a/include/parser.php
+++ b/include/parser.php
@@ -701,7 +701,7 @@ function do_bbcode($text, $is_signature = false)
if (strpos($text, '[quote') !== false) {
$text = preg_replace('%\[quote\]\s*%', '
', $text);
- $text = preg_replace_callback('%\[quote=("|&\#039;|"|\'|)([^\r\n]*?)\\1\]%s', function($matches) { return '
"; }, $text);
+ $text = preg_replace_callback('%\[quote=("|&\#039;|"|\'|)([^\r\n]*?)\\1\]%s', function($matches) { return '
"; }, $text);
$text = preg_replace('%\s*\[\/quote\]%S', '
', $text);
}