Skip to content

Commit 4d21b5c

Browse files
committed
Fixed rendering of chart of columns with HTML inside
Signed-off-by: Michal Čihař <michal@cihar.com>
1 parent 57ae483 commit 4d21b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: js/tbl_chart.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function drawChart() {
156156

157157
var columnNames = [];
158158
$('select[name="chartXAxis"] option').each(function () {
159-
columnNames.push($(this).text());
159+
columnNames.push(escapeHtml($(this).text()));
160160
});
161161
try {
162162
currentChart = PMA_queryChart(chart_data, columnNames, currentSettings);

0 commit comments

Comments
 (0)