minor trusttext fix

This commit is contained in:
skodak
2006-08-26 17:39:31 +00:00
parent b8dc934baa
commit daed1a2f37
+1
View 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);