From dc4420c5ec085f43bdab35d4eb06f024a3472740 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 13 Feb 2012 14:16:51 -0800 Subject: [PATCH] hr bbcode tag --- boot.php | 2 +- include/bbcode.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/boot.php b/boot.php index 7a43549bd7..56ae30fea2 100755 --- a/boot.php +++ b/boot.php @@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '2.3.1250' ); +define ( 'FRIENDICA_VERSION', '2.3.1251' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); define ( 'DB_UPDATE_VERSION', 1121 ); diff --git a/include/bbcode.php b/include/bbcode.php index 118be1298c..1df2ad7252 100755 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -173,6 +173,7 @@ upper-alpha;">$2' ,$Text); $Text = preg_replace("/\[table border=1\](.*?)\[\/table\]/sm", '$1
' ,$Text); $Text = preg_replace("/\[table border=0\](.*?)\[\/table\]/sm", '$1
' ,$Text); + $Text = str_replace('[hr]','
', $Text); // Check for font change text