documentcloud/underscore — Issue #350: HTML Escaping broken
Author: martynsmith
Created: 2011-10-26 04:30:26+00:00
State: open

It seems that if your input to the _.escape function has anything that looks like it's already escaped, then the escape method is failing to encode it correctly.

e.g.

```javascript
_.escape("martyn&stuff") // produces "martyn&stuff"
_.escape("martyn&stuff") // produces "martyn&stuff"
```
The latter should really produce:

```javascript
"martyn&amp;stuff"
```