bitovi/canjs — pull request #504 by ccummings (2013-10-16 19:59:28+00:00)
Title: Mustache and EJS issues with attributes and truthy blocks

Found 3 cases where Mustache and EJS fail to render correct output. All of these have the full attribute inside of a truthy section (if block in EJS).

__Case 1__: Attribute value has hyphen
`

`
Entire value of attribute is escaped resulting in:

```html

```

__Case 2__: Attribute value has spaces
`

`
Entire value of attribute is escaped resulting in:

```html

```

__Case 3__: Outputting list of attributes in a loop
`

`
entire string of attributes is escaped and results in a mangled mess:

```html

```