-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.2.2, 3.2.5, 3.3
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
- Create a new course category as a child category of Misc
- Go to Site administration -> Courses -> Course request and see the defaultrequestcategory setting.
With the use of mustache templates for admin settings the option values are escaped. This breaks the indention with non-breaking spaces (" ") for subcategories in admin_settings_coursecat_select. See the defaultrequestcategory setting under Courses -> Course request.
For dropdown and multi select menus using
|
One solution would be to adjust the mustache templates setting_configselect and setting_configmultiselect to not escaping the option value. See the attached github branch.
Another solution might be to explicit implement an indention feature to the admin_settings_configselect and multiselect classes, separately processed by the template by including the appropriate number of non-breaking spaces.
- has been marked as being related by
-
MDL-57678 Select categories widgets does not properly handle entities
- Closed