Commit e6360722 authored by JC Brand's avatar JC Brand

Escape interpolated values. Updates #779

parent e8cf903d
...@@ -2052,7 +2052,7 @@ ...@@ -2052,7 +2052,7 @@
)); ));
}, },
templates: { 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) { $el.on('typeahead:selected', function (ev, suggestion, dname) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment