You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Umakant Patil edited this page Dec 11, 2013
·
1 revision
jSmart.prototype.escape_html
Escape HTML markup in template variables. By default is false (don't escape HTML).
jSmart.prototype.escape_html = true; //set global for all jSmart instances
var t = new jSmart('{$bold}');
t.escape_html = true; //... or set for this instance only, overrides jSmart.prototype.escape_html
t.fetch({bold: '<b>test</b>'});