MDL-86280 mod: Do not filter help text in activity chooser.

Co-authored-by: Ferran Recio <[email protected]>
This commit is contained in:
Luca Bösch
2025-08-26 18:19:30 +02:00
co-authored by Ferran Recio
parent e3e51a0613
commit e44d80a28d
@@ -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,