From 4d21b5c077db50c2a54b7f569d20f463cc2651f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 22 Jun 2016 13:07:32 +0200 Subject: [PATCH] Fixed rendering of chart of columns with HTML inside MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- js/tbl_chart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tbl_chart.js b/js/tbl_chart.js index eb8730c78b65..41ff296436bd 100644 --- a/js/tbl_chart.js +++ b/js/tbl_chart.js @@ -156,7 +156,7 @@ function drawChart() { var columnNames = []; $('select[name="chartXAxis"] option').each(function () { - columnNames.push($(this).text()); + columnNames.push(escapeHtml($(this).text())); }); try { currentChart = PMA_queryChart(chart_data, columnNames, currentSettings);