- changed status to resolved
Titles of activities with double quotes cause "unescaped" errors
Issue #70
resolved
When adding an activity while using Tiles, if the activity name contains double quotes (“) it can cause some weirdness.
Simple test:
- Log in to a course using Tiles
- Create an activity called (including quotes): “Hidden due to bug”
- Save and return to course.
This results in a bit of weirdness in the HTML. The quotes are not properly escaped and so strange attributes are added to the <li> of the activity. In the test example above, the attribute hidden=”” is created and the CSS style
[hidden] {display: none !important;}
is activated, hiding the activity from view (even though the activity itself is set to “show”).
Comments (1)
-
repo owner - Log in to comment
Fixes issue
#70escape chars in mod title→ <<cset df2cb0417b8e>>