aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-01 21:48:23 -0700
committerfriendica <info@friendica.com>2012-06-01 21:48:23 -0700
commitc0b74b18fefe4cbc3abdf978abf833c1e62c1379 (patch)
treea5b2511d446e644ec87070bc5634a74a72776549 /include
parent0165d5dd2c8b12a71395cc881910974ddcbaf3fa (diff)
parent7a5c85f62844c1e1cad80a8aa80571d4a967866b (diff)
downloadvolse-hubzilla-c0b74b18fefe4cbc3abdf978abf833c1e62c1379.tar.gz
volse-hubzilla-c0b74b18fefe4cbc3abdf978abf833c1e62c1379.tar.bz2
volse-hubzilla-c0b74b18fefe4cbc3abdf978abf833c1e62c1379.zip
Merge pull request #321 from beardy-unixer/master
BB code [quote=somebody] fix.
Diffstat (limited to 'include')
-rw-r--r--include/bbcode.php2
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]