]> git.mjollnir.org Git - moodle.git/commitdiff
minor trusttext fix
authorskodak <skodak>
Sat, 26 Aug 2006 17:39:31 +0000 (17:39 +0000)
committerskodak <skodak>
Sat, 26 Aug 2006 17:39:31 +0000 (17:39 +0000)
lib/weblib.php

index 8b4e363088771fc9fe029e266e3997f48d263111..249d22d0fa849cd2d88ec0d872a192148a66f959 100644 (file)
@@ -1575,6 +1575,7 @@ function trusttext_mark($text) {
 }
 function trusttext_after_edit(&$text, $context) {
     if (has_capability('moodle/site:trustcontent', $context)) {
+        $text = trusttext_strip($text);
         $text = trusttext_mark($text);
     } else {
         $text = trusttext_strip($text);