Skip to content

Commit

Permalink
test without escape
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Travis authored and Thomas Travis committed Jun 18, 2024
1 parent f940993 commit 8eca07b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/visualsearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -1986,7 +1986,7 @@ VS.model.SearchQuery = Backbone.Collection.extend({
</div>
</div>
`;
return _.escape(template);
return template;
};
window.JST['search_facet'] = function ({model, readOnly}) {
let template = `
Expand All @@ -1998,11 +1998,11 @@ VS.model.SearchQuery = Backbone.Collection.extend({
<i class="fa fa-times-circle"></i>
</div>
`;
return _.escape(template);
return template;
};
window.JST['search_input'] = function ({readOnly}) {
let template = `<input type="text" class="ui-menu" ${readOnly ? 'disabled="disabled"' : ''} />`;
return _.escape(template);
return template;
};


Expand Down

0 comments on commit 8eca07b

Please sign in to comment.