arturadib/agility — Issue #73: Bind raw HTML
Author: colinmacc
Created: 2012-03-03 02:35:48+00:00
State: open

Where agile.js:596 has $node.text(self.model.get(bindData.key).toString()); it might as easily use .html, permitting bindings to inject html instead of text.

I don't see why this isn't the default, as it's useful behaviour. If it weren't to be the default, it could be conditioned by another data- attribute, say data-bindhtml or somesuch.