General removal of <nolink> tags for XHTML compatibility.

Moved from the glossary filter as the filter may not be enabled.
This commit is contained in:
ikawhero
2005-01-18 06:57:59 +00:00
parent 679388ae77
commit c7444a36a5
2 changed files with 4 additions and 3 deletions
+4
View File
@@ -1097,6 +1097,10 @@ function filter_text($text, $courseid=NULL) {
}
}
/// <nolink> tags removed for XHTML compatibility
$text = str_replace('<nolink>', '', $text);
$text = str_replace('</nolink>', '', $text);
return $text;
}
-3
View File
@@ -108,9 +108,6 @@
}
}
}
/// <nolink> tags removed for XHTML compatibility
$text = str_replace('<nolink>', '', $text);
$text = str_replace('</nolink>', '', $text);
return $text;
}