bsatrom / Knockout.Unobtrusive

Unobtrusive View to ViewModel bindings for KnockoutJS
http://bsatrom.github.com/Knockout.Unobtrusive/
44 stars 1 forks source link

Template bindings result in class attributes with no quotes when rendered in IE8< #9

Closed bsatrom closed 13 years ago

bsatrom commented 13 years ago

When ko.unobtrusive processes a script block with class, id or name, those attributes are no longer quotes after processing, due to an issue with IE8< and innerHTML

<INPUT id=makeOlder value="Make older" type=button data-bind="click: makeOlder">

should be

<INPUT id="makeOlder" value="Make older" type=button data-bind="click: makeOlder">

bsatrom commented 13 years ago

fixed with quoteAttributes method