diff options
author | Thomas Willingham <founder@kakste.com> | 2012-06-01 23:31:07 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2012-06-01 23:31:07 +0100 |
commit | 7a5c85f62844c1e1cad80a8aa80571d4a967866b (patch) | |
tree | da7bd2652389a8dd406c73898ef35e3b7d251c28 /include | |
parent | 974935e9215bce903e5d458c8301fa1d50b3178d (diff) | |
download | volse-hubzilla-7a5c85f62844c1e1cad80a8aa80571d4a967866b.tar.gz volse-hubzilla-7a5c85f62844c1e1cad80a8aa80571d4a967866b.tar.bz2 volse-hubzilla-7a5c85f62844c1e1cad80a8aa80571d4a967866b.zip |
[quote=somebody] was appearing as an extended spoiler tag.
Diffstat (limited to 'include')
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
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", - "<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] |