Titles of activities with double quotes cause "unescaped" errors

Issue #70 resolved
Adam Jenkins created an issue

When adding an activity while using Tiles, if the activity name contains double quotes () it can cause some weirdness.

Simple test:

  1. Log in to a course using Tiles
  2. Create an activity called (including quotes): “Hidden due to bug”
  3. 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)

  1. Log in to comment