Files
lodash/underscore.js
Jason Davies 47eb154ccf Preserve backslashes in _.template()
For example, templates containing things like the literal string
`\ribbit` weren't being escaped properly when being compiled. The `\r`
was being interpreted as a carriage return character.

I've added a test for this too, and all the existing tests pass.
2010-11-09 22:59:03 +00:00

25 KiB