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

Do not clean text in notification message

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.3
    • None
    • Themes
    • None
    • MOODLE_33_STABLE

    Description

      We call clean_text() on the notification message when exporting it for the template
      https://github.com/moodle/moodle/blob/master/lib/classes/output/notification.php#L186

      It makes impossible to use a notification with a button inside it.

      Will be great to convert the admin notifications page (/admin/index.php) to use core_notification in the future but notifications there have links, help icons and buttons that are removed by clean_text

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marina Marina Glancy
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: