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

Allow iframes in course category descriptions

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.12
    • 1.9.10
    • Course
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Easy

      If an iframe is included as part of a course category description, it is not displayed on the course categories page. This is because the description is cleaned, and the iframe tag stripped out.

      This is contrary to the behaviour of course descriptions, as they allow the iframe to remain in place. Further confusion to the course administrator is added by the fact that when he goes back to edit the course description again, the iframe is still there.

      Either the course description editor should be modified to disallow iframes to be included, or they should be correctly displayed on the relevant page, e.g. course/category.php?id=2

      To test (Moodle 1.9):

      • edit a course category
      • add an iframe to the description
      • save the description
      • view the Course Categories page course/index.php
      • select the course you just edited

      Expected: the iframe and contents appear in the description
      Actual: the iframe is stripped out and doesn't appear

            darenc Daren Chandisingh
            darenc Daren Chandisingh
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            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.