bitovi/canjs — pull request #535 by ccummings (2013-11-08 18:07:58+00:00)
Title: New lines are not handled properly in special attributes

When there is a new line character in the value of a [specialAttribute](https://github.com/bitovi/canjs/blob/master/view/elements.js#L27) like [style](https://github.com/bitovi/canjs/blob/master/view/elements.js#L131), the [getValue](https://github.com/bitovi/canjs/blob/master/view/live/live.js#L342) helper does not strip the leading and trailing quotes because the [regex](https://github.com/bitovi/canjs/blob/master/view/live/live.js#L345) fails. Specifically the `.*` in the regex only matches non-newline characters.

So a mustache template like this will not set the styles properly.

```js

```