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

theme_boost: single_select no longer supports HTML entities

XMLWordPrintable

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

      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

            Unassigned Unassigned
            sbourget Stephen Bourget
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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