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
- has a clone
-
MDL-26639 Allow iframes in course category descriptions in Moodle 2.x
- Closed