haritzmedina / MarkAndGo

2 stars 0 forks source link

When defining a criteria in Moodle with special characters or with line breaks, the highlighter is not working as expected #16

Closed haritzmedina closed 5 years ago

haritzmedina commented 5 years ago

When defining grading criterias with special chars (e.g.: colon (:)) or line breaks it creates tags with line breaks which propagates an error to the highlighter and textAnnotator, specially when it is used for querySelector function.

Screenshot 2019-05-09 at 7 38 26 PM

Use some encoding to remove this special chars.