From: moodler Date: Mon, 17 May 2004 16:04:05 +0000 (+0000) Subject: Strip tags from Resource names before filtering bug 1418 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d6533f314c45f9c2b04b153f830732ab46599219;p=moodle.git Strip tags from Resource names before filtering bug 1418 --- diff --git a/mod/resource/filter.php b/mod/resource/filter.php index de41f488d7..c330a85207 100644 --- a/mod/resource/filter.php +++ b/mod/resource/filter.php @@ -63,7 +63,7 @@ function resource_link_names($text,$name,$href_tag_begin,$href_tag_end = "") { - $list_of_words_cp = $name; + $list_of_words_cp = strip_tags($name); $list_of_words_cp = trim($list_of_words_cp,'|');