-
Notifications
You must be signed in to change notification settings - Fork 650
Closed
dubscratch/MagicMirror
#16Labels
Description
A U+2028 character (there may be others) in a template will cause nunjucks to throw "SyntaxError: Unexpected token ILLEGAL". Sometimes these sneaky beasts will work their way into copy.
I understand if they cause an issue and throw or warn, but it should be handled better.
Tested on 0.1.10 and 0.1.9, broken in both.
EDIT: fixed character above; error happens regardless of where it is in the template.