1
1
Fork 0

preliminary qcomment support, [nosmile] tag to disable smiley processing

This commit is contained in:
friendica 2012-02-14 23:13:18 -08:00
commit 03171fd7de
7 changed files with 45 additions and 4 deletions

View file

@ -878,7 +878,10 @@ function prepare_text($text) {
require_once('include/bbcode.php');
$s = smilies(bbcode($text));
if(stristr($text,'[nosmile]'))
$s = bbcode($text);
else
$s = smilies(bbcode($text));
return $s;
}}