aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-13 14:16:51 -0800
committerfriendica <info@friendica.com>2012-02-13 14:16:51 -0800
commitdc4420c5ec085f43bdab35d4eb06f024a3472740 (patch)
treece05a9d5ff67fe1ecc687d20393a8099854e7953 /include/bbcode.php
parent52cb63655a8e52baa1b01f12a12d03f537d457c0 (diff)
downloadvolse-hubzilla-dc4420c5ec085f43bdab35d4eb06f024a3472740.tar.gz
volse-hubzilla-dc4420c5ec085f43bdab35d4eb06f024a3472740.tar.bz2
volse-hubzilla-dc4420c5ec085f43bdab35d4eb06f024a3472740.zip
hr bbcode tag
Diffstat (limited to 'include/bbcode.php')
-rwxr-xr-xinclude/bbcode.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 118be1298..1df2ad725 100755
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -173,6 +173,7 @@ upper-alpha;">$2</ul>' ,$Text);
$Text = preg_replace("/\[table border=1\](.*?)\[\/table\]/sm", '<table border="1" >$1</table>' ,$Text);
$Text = preg_replace("/\[table border=0\](.*?)\[\/table\]/sm", '<table border="0" >$1</table>' ,$Text);
+ $Text = str_replace('[hr]','<hr />', $Text);
// Check for font change text