From 40b83bffaa80e62af368509145758b984d996014 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 10 Aug 2004 09:10:28 +0000 Subject: [PATCH] Don't clean external files --- mod/resource/fetch.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/resource/fetch.php b/mod/resource/fetch.php index cbd9ebd024..c0f570b8c9 100644 --- a/mod/resource/fetch.php +++ b/mod/resource/fetch.php @@ -29,6 +29,7 @@ $content = resource_fetch_remote_file($cm, $url); - echo format_text($content->results, FORMAT_HTML); + $formatoptions->noclean = true; + echo format_text($content->results, FORMAT_HTML, $formatoptions, $course->id); ?> -- 2.39.5