diff --git a/include/bbcode.php b/include/bbcode.php
index 85d310b75..ba4863de1 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -226,7 +226,7 @@ function bbcode($Text,$preserve_nl = false) {
$endlessloop = 0;
while ((strpos($Text, "[/quote]")!== false) and (strpos($Text, "[quote=") !== false) and (++$endlessloop < 20))
$Text = preg_replace("/\[quote=[\"\']*(.*?)[\"\']*\](.*?)\[\/quote\]/ism",
- "
" . $t_wrote . "
$2", + "
$2", $Text); // [img=widthxheight]image source[/img]