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

Allow iframes in course category descriptions

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              darenc Daren Chandisingh
              darenc Daren Chandisingh
              David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/May/11