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

Custom menu - escape custom menu item description

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: FRONTEND
    • Component/s: Libraries
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      I created a a custom menu item called Modules & Plugins and when I ran the HTML validation it was complaining because the ampersand was not escaped. I've not looked at the code but we can split the string based on the | character and make sure to convert the ampersand and other possibly offending characters to & that way if we want to keep the & in the URL unescaped we can. In any case, as it is, the user can break HTML validity so we should probably clean that up. Peace - Anthony

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: