documentcloud/underscore — pull request #401 by Stuk (2011-12-08 19:42:32+00:00)
Title: Fix escaped chars in Javascript in templates

If an escaped character (e.g. \n) is used in embedded Javascript inside a template then it gets escaped to \\n. If someone has put an escaped character in their JS then they probably want it left that way.

This merge request adds a test for this, and the following commit replaces \\s with a single \ when inside evaluation tags, reverting the previous template escaping.