diff --git a/lib/outputcomponents.php b/lib/outputcomponents.php
index 79f01e0..b22471b 100644
--- a/lib/outputcomponents.php
+++ b/lib/outputcomponents.php
@@ -2373,6 +2373,7 @@ class custom_menu extends custom_menu_item {
         $text = format_text($text, FORMAT_MOODLE, array(
             'para'     => false,
             'newlines' => false,
+            'filter'   => false,
             'context'  => get_system_context()));
         $lines = explode("\n", $text);
         $children = array();
