diff options
Diffstat (limited to 'include/bbcode.php')
-rwxr-xr-x | include/bbcode.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 118be1298..cae867eb8 100755 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -173,7 +173,11 @@ 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); + + // This is actually executed in prepare_body() + + $Text = str_replace('[nosmile]','',$Text); // Check for font change text $Text = preg_replace("/\[font=(.*?)\](.*?)\[\/font\]/sm","<span style=\"font-family: $1;\">$2</span>",$Text); |