Browse Source

hr bbcode tag

pull/35/head
friendica 10 years ago
parent
commit
dc4420c5ec
  1. 2
      boot.php
  2. 1
      include/bbcode.php

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

1
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

Loading…
Cancel
Save