Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't replace smilies in plain text format

  • Loading branch information...
commit 7636b1194d6506c9856987d8ed4b1c4eaff63f95 1 parent 6219cb1
gustav_delius authored
Showing with 1 addition and 2 deletions.
  1. +1 −1  lang/en/help/textformat.html
  2. +0 −1  lib/weblib.php
2  lang/en/help/textformat.html
@@ -48,7 +48,7 @@
<P>This format is useful when you need to include lots of code
or HTML that you want to be displayed exactly as you wrote it.
-<P>It still translates smilies and new lines, but otherwise your
+<P>It still translates spaces and new lines, but otherwise your
text isn't touched.
1  lib/weblib.php
@@ -596,7 +596,6 @@ function format_text($text, $format=FORMAT_MOODLE, $options=NULL, $courseid=NULL
$text = htmlentities($text);
$text = rebuildnolinktag($text);
$text = str_replace(" ", "&nbsp; ", $text);
- replace_smilies($text);
$text = nl2br($text);
Please sign in to comment.
Something went wrong with that request. Please try again.