diff --git a/public/course/classes/local/exporters/course_content_item_exporter.php b/public/course/classes/local/exporters/course_content_item_exporter.php index 0c59955a059..3532c5875a8 100644 --- a/public/course/classes/local/exporters/course_content_item_exporter.php +++ b/public/course/classes/local/exporters/course_content_item_exporter.php @@ -134,7 +134,8 @@ class course_content_item_exporter extends exporter { 'title' => $this->contentitem->get_title()->get_value(), 'link' => $this->contentitem->get_link()->out(false), 'icon' => $this->contentitem->get_icon(), - 'help' => format_text($this->contentitem->get_help(), FORMAT_MARKDOWN), + // Help text should not be parsed using course filters. + 'help' => format_text($this->contentitem->get_help(), FORMAT_MARKDOWN, ['filter' => false]), 'archetype' => $this->contentitem->get_archetype(), 'componentname' => $this->contentitem->get_component_name(), 'favourite' => $favourite,