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

HTML-rendering filter in activity name displays code as text in Activities overview

XMLWordPrintable

    • 1
    • HQ 2025 Sprint I2.1 Moppies

      I reproduced this in a local site with MathJax filter enabled, and with the admin setting formatstringstriptags disabled.

      I have an activity with MathJax in its name: Announcements $$(a+b)=2$$

      If go to Activities overview, I see the following:

      In the course page and course index the MathJax equation is rendered as it should.

      IMO the Activities overview should either:

      • Format the string and also run the JS of the filter, so the Mathjax equation is displayed, OR
      • Not format the string at all, so the HTML is not added and you see the raw name.

            amaia Amaia Anabitarte
            dpalou Dani Palou
            Luca Bösch Luca Bösch
            Mikel Martín Corrales Mikel Martín Corrales
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 weeks, 16 minutes
                3w 16m

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