-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.5, 4.1
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MDL-76550_401 -
When we create a new category/question with HTML entity, they are not encoded.
Steps:
- Login to a course
- Navigate to Question bank > Categories
- Click on Add category. Enter category name as 'Moodle & testing'
- Save changes
Observe that category name is displayed with HTML entity (&) character name
Also, similar thing is observed when we create a quiz and click on Add to add a random question. The question names are displayed with HTML entity
Steps:
- Login to a course
- Navigate to Question bank > Questions
- Create a new True/False question in above category (e.g., 'Moodle & testing') with question name as 'T & F'.
- Turn editing mode on and create a quiz.
- Click on 'Add question' > add a random question
- Choose category 'Moodle & testing'
Observe that the question name is displayed with HTML entity (&) character name