diff options
author | friendica <info@friendica.com> | 2012-02-13 14:16:51 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-13 14:16:51 -0800 |
commit | dc4420c5ec085f43bdab35d4eb06f024a3472740 (patch) | |
tree | ce05a9d5ff67fe1ecc687d20393a8099854e7953 | |
parent | 52cb63655a8e52baa1b01f12a12d03f537d457c0 (diff) | |
download | volse-hubzilla-dc4420c5ec085f43bdab35d4eb06f024a3472740.tar.gz volse-hubzilla-dc4420c5ec085f43bdab35d4eb06f024a3472740.tar.bz2 volse-hubzilla-dc4420c5ec085f43bdab35d4eb06f024a3472740.zip |
hr bbcode tag
-rwxr-xr-x | boot.php | 2 | ||||
-rwxr-xr-x | include/bbcode.php | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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 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 |