Permalink
Browse files

revert unnecessary addition of htmlEscaping to Monarch.View.Template.…

…model()
  • Loading branch information...
1 parent eee3189 commit 7ec62b315efcc1a8d1dde312778544737db42dc9 @maxbrunsfeld maxbrunsfeld committed Jan 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/monarch/view/template.js
View
2 lib/monarch/view/template.js
@@ -202,7 +202,7 @@ _.constructor("Monarch.View.Template", {
var elt = jQuery(this);
var fieldName = elt.attr('name');
if (model[fieldName]) {
- elt.val(htmlEscape(model[fieldName].call(model)) || "");
+ elt.val(model[fieldName].call(model) || "");
}
});
},

0 comments on commit 7ec62b3

Please sign in to comment.