From 2c6e2396bc9bb13bc636a8b7910802fde519bd3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Wed, 28 Oct 2015 17:21:56 +0100 Subject: [PATCH] Bug #4067: add escapeDoubleQuotes to context variables (cherry picked from commit c583c70215d5f8224bc6f3aa4fd22f94d3773eb0) --- src/sunstone/public/app/utils/custom-tags-table.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sunstone/public/app/utils/custom-tags-table.js b/src/sunstone/public/app/utils/custom-tags-table.js index 6213db7480..f8ff4eeea9 100644 --- a/src/sunstone/public/app/utils/custom-tags-table.js +++ b/src/sunstone/public/app/utils/custom-tags-table.js @@ -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) + }) + ); } }); }