]> git.mxchange.org Git - friendica.git/commitdiff
[quote=somebody] was appearing as an extended spoiler tag.
authorThomas Willingham <founder@kakste.com>
Fri, 1 Jun 2012 22:31:07 +0000 (23:31 +0100)
committerThomas Willingham <founder@kakste.com>
Fri, 1 Jun 2012 22:31:07 +0000 (23:31 +0100)
include/bbcode.php

index 85d310b75f5ed621164f49dba5e71aa0e96132b4..ba4863de16f31bf4e3542d4e7ccd83725b08fd16 100644 (file)
@@ -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",
-                                    "<br /><strong class=".'"author"'.">" . $t_wrote . "</strong><blockquote class=".'"author"'.">$2</blockquote>",
+                                    "<br /><strong class=".'"author"'.">" . $t_wrote . "</strong><blockquote>$2</blockquote>",
                                     $Text);
 
        // [img=widthxheight]image source[/img]