Escape interpolated values. Updates #779

This commit is contained in:
JC Brand 2017-02-14 07:28:04 +01:00
parent e8cf903dc0
commit e63607227d

View File

@ -2052,7 +2052,7 @@
));
},
templates: {
suggestion: _.template('<p data-jid="{{jid}}">{{value}}</p>')
suggestion: _.template('<p data-jid="{{{jid}}}">{{{value}}}</p>')
}
});
$el.on('typeahead:selected', function (ev, suggestion, dname) {