From d6533f314c45f9c2b04b153f830732ab46599219 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 17 May 2004 16:04:05 +0000 Subject: [PATCH] Strip tags from Resource names before filtering bug 1418 --- mod/resource/filter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,'|'); -- 2.39.5