lduarte1991 / hxat

Contains the currently-in-development project by HarvardX to bring the annotation tool currently living in the edX platform to a more accessible LTI implementation.
13 stars 7 forks source link

Text Annotation Escaping Issue #63

Closed arthurian closed 8 years ago

arthurian commented 8 years ago

Hi @lduarte1991, this PR fixes an issue with text annotations when the student has created an annotation containing quotation marks, either intentionally or unintentionally (i.e. text editor formatting). The text annotation body was embedded in a label attribute without being escaped, so this should fix that. I also looked for any other places in that particular template where the value should probably be escaped.

lduarte1991 commented 8 years ago

:+1: Been meaning to do this for a while! Thanks!