Bug #4067: add escapeDoubleQuotes to context variables

(cherry picked from commit c583c70215)
This commit is contained in:
Carlos Martín committed 2015-10-28 17:22:55 +01:00
1 parent da8c636c5f
commit 2c6e2396bc
1 file changed
+5 -1
@@ -86,7 +86,11 @@ define(function(require) {
VectorRowTemplateHTML({key: key, value: value}));
} else {
$("tbody.custom_tags", context).append(
RowTemplateHTML({key: key, value: value}));
RowTemplateHTML({
key: key,
value: TemplateUtils.escapeDoubleQuotes(value)
})
);
}
});
}