Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28154

Custom menu should not be calling format_text on $CFG->custommenuitems

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 2.1
    • None
    • Navigation
    • MOODLE_21_STABLE

    Description

      Presently custom_menu::convert_text_to_menu is calling format_text on $CFG->custommenuitems to support multi-lang strings.
      Unfortunately this is causing filtering to occur of the strings and with the autolink filter (or what ever that is called) full URL's are being filtered into html links and stuff is breaking.
      Setting the filter option to false is certainly one solution but perhaps a better solution is to only filter the name of the item rather than the whole CFG variable.

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              samhemelryk Sam Hemelryk
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: