Escaping the '/' COS226/217 in the Jinja template doesn't work. The problem is using the course name as an id for an HTML element. Most solutions online suggest escaping like this: {{ course|escape }}. But this doesn't seem to be working. Changed the course name to 'COS2xx' for now.
Escaping the '/' COS226/217 in the Jinja template doesn't work. The problem is using the course name as an id for an HTML element. Most solutions online suggest escaping like this:
{{ course|escape }}. But this doesn't seem to be working. Changed the course name to 'COS2xx' for now.