From b23372a3368d33d7adf3bfe5a0466a572d7ec5a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 15 Jan 2013 09:10:48 +0100 Subject: [PATCH] Escape HTML in titles of table charts Conflicts: js/tbl_chart.js --- js/tbl_chart.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/tbl_chart.js b/js/tbl_chart.js index 14baf4749e..758cea0505 100644 --- a/js/tbl_chart.js +++ b/js/tbl_chart.js @@ -71,6 +71,7 @@ AJAX.registerOnload('tbl_chart.js', function() { }, title: { text: $('input[name="chartTitle"]').attr('value') + escapeHtml: true, //margin:20 }, legend: { @@ -286,6 +287,7 @@ function PMA_queryChart(data, passedSettings, passedNonJqplotSettings) var settings = { title: { + escapeHtml: true, text: '' //margin:20 }