visionmedia/jade — pull request #556 by dai1741 (2012-03-26 13:12:31+00:00)
Title: Escape backslashes in coffeescript filter

Backslashes in scripts generated with `:coffeescript` filter are being disappeared after jade templates are compiled.

I tried the following template, which has a valid coffeescript.

```
:coffeescript
msg = """text "text" text"""
msg = 'text \'text\' text'
```

Compiling this template results in a compilation error: `SyntaxError: Unexpected token ILLEGAL`.

I fixed this issue by inserting an extra backslash before each backslash in the generated javascript.
This should fix issue #393.