janl/mustache.js — Issue #167: Backslashed double quote breaks compiler
Author: jafl
Created: 2012-02-17 02:13:10+00:00
State: open

This line in the template (inside a script tag):

foo = { bar: 'abc\"xyz\"' }

produces this internal output:

REE.write("\nfoo = { bar: 'abc\\"xyz\\"' }");

and eval fails (line 23 of compiler.js in my version).