diff options
Diffstat (limited to 'include/bbcode.php')
-rwxr-xr-x | include/bbcode.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 1df2ad725..cae867eb8 100755 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -174,7 +174,10 @@ upper-alpha;">$2</ul>' ,$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); |