From 32338e7bdaf8072bee4d2656f9442b94009fb819 Mon Sep 17 00:00:00 2001 From: Shamim Rezaie Date: Thu, 19 Jul 2018 14:29:13 +1000 Subject: [PATCH] MDL-62931 Questions: Escaping lang strings properly --- question/templates/tag_condition.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/question/templates/tag_condition.mustache b/question/templates/tag_condition.mustache index 1da02119d65..41e25ae16ab 100644 --- a/question/templates/tag_condition.mustache +++ b/question/templates/tag_condition.mustache @@ -70,8 +70,8 @@ function( var root = $('[data-region="tag-condition-container-{{uniqid}}"]'); var selectElement = root.find('[data-region="tag-select"]'); var loadingContainer = root.find('[data-region="overlay-icon-container"]'); - var placeholderText = '{{#str}} filterbytags, core_question {{/str}}'; - var noSelectionText = '{{#str}} notagfiltersapplied, core_question {{/str}}'; + var placeholderText = {{#quote}}{{#str}} filterbytags, core_question {{/str}}{{/quote}}; + var noSelectionText = {{#quote}}{{#str}} notagfiltersapplied, core_question {{/str}}{{/quote}}; AutoComplete.enhance( selectElement, // Element to enhance.