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

& is systematically replaced by & a m p ; when we use the pencil for document name in topic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.4, 2.4.1
    • 2.3.1
    • JavaScript
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-36918-master
    • Hide
      • Open Course & Turn editing on
      • Use the 'Update title' tool to update the title to the following:
      Text you put in What you expect to see What you get when you click the edit button Notes
      Horse & Cart Horse & Cart Horse & Cart & is converted to & by format_string and then back again by html_entity_decode
      Horse & <b>Cart</b> Horse & Cart Horse & Cart <b> is stripped out by format_string but & is not
      Horse & Cart Horse & Cart Horse & Cart nbsp is not stripped out anywhere
        • Confirm that they're all correct

      You may also wish to try a few other strings; and to try putting some strings in the modedit form too.

      Show
      Open Course & Turn editing on Use the 'Update title' tool to update the title to the following: Text you put in What you expect to see What you get when you click the edit button Notes Horse & Cart Horse & Cart Horse & Cart & is converted to & by format_string and then back again by html_entity_decode Horse & <b>Cart</b> Horse & Cart Horse & Cart <b> is stripped out by format_string but & is not Horse & Cart Horse & Cart Horse & Cart nbsp is not stripped out anywhere Confirm that they're all correct You may also wish to try a few other strings; and to try putting some strings in the modedit form too.

      in a topic, i want to change the name of document or activity
      when i write "&" it's automatically changed by "& a m p ;" after validation...

            dobedobedoh Andrew Lyons
            lsansone Luiggi Sansonetti
            Rajesh Taneja Rajesh Taneja
            Sam Hemelryk Sam Hemelryk
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.