bluerail/twitter-bootstrap-rails-confirm — pull request #4 by taavo (2013-02-21 16:19:41+00:00)
Title: fix silent syntax error

I don't know what this could be related to, but my first guesses are jquery and coffeescript. I'm running jquery 1.9.1 and coffee-rails 3.2.2 (coffee-script: 2.2.0, coffee-script-source: 1.4.0).

Anyhow, when I click a link with a `data-confirm`, no confirmation is opening and I'm being sent straight through to the link's href. Stepping through in the debugger, I can see that twitter-bootstrap-rails-confirm's compiled js is exploding here:

```
$('\

\

×

...

\

\

......

\

\
')
```

with the error:

```
Error: Syntax error, unrecognized expression:

×

...

......

```

I was able to resolve this by removing the leading and trailing carriage returns inside the string.