diff --git a/lib/weblib.php b/lib/weblib.php index 56590eb25b4..eb0904483a4 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -282,6 +282,7 @@ function text_to_html($text) { // Turn smileys into images. + $text = ereg_replace(":)", "smilewwwroot/pix/s/smiley.gif>", $text); $text = ereg_replace(":-)", "smilewwwroot/pix/s/smiley.gif>", $text); $text = ereg_replace(":-D", "grinwwwroot/pix/s/biggrin.gif>", $text); $text = ereg_replace(";-)", "winkwwwroot/pix/s/wink.gif>", $text);