hr bbcode tag

This commit is contained in:
friendica 2012-02-13 14:16:51 -08:00
parent 52cb63655a
commit dc4420c5ec
2 changed files with 2 additions and 1 deletions

View File

@ -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 );

View File

@ -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