-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.6, 3.10.3, 3.11, 4.0
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
71093-master-backup-honor-formatstringstriptags
-
When you allow HTML tags in activity and resource names ($CFG->formatstringstriptags) and you have HTML tags in section name, you can't backup your course.
Steps to Reproduce
- add $CFG->formatstringstriptags = false; to your config.php
- create a course with topics format
- edit one of the sections of the course and enter custom name for the title with some HTML tags (do not use quick edit, see
MDL-65934) - then try to backup your course. You should have an exception error "error/setting_invalid_ui_label"