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

theme_boost: single_select no longer supports HTML entities

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.2
    • None
    • Forms Library, Themes
    • None
    • MOODLE_32_STABLE

    Description

      As part of the conversion to templates, the single select no longer displays HTML entities. They are instead displayed as text (meaning if you want to display an & you can no longer send & or insert a non-breaking space   it will display the text '&nbsp' in place of the character.

      The attached file demonstrates the problem. Simply copy to the root of the moodle site and view the page in both clean and boost. It will display correctly in clean, but will display incorrectly in Boost. (There seems to be some conversion difference between how it is handled in Boost as opposed to clean)

      To see a real-world application of how this bug is affecting moodle you can see it here (contributed plugin)
      https://github.com/sbourget/moodle-mod_pcast/blob/master/locallib.php#L199

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sbourget Stephen Bourget
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Huong Nguyen, Bas Brands, Mathew May, Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: