diff --git a/src/gen-charts.ts b/src/gen-charts.ts index e7238d0ac..7eacde15f 100644 --- a/src/gen-charts.ts +++ b/src/gen-charts.ts @@ -1269,7 +1269,7 @@ function makeChartType(chartType: CHART_NAME, data: OptsChartData[], opts: IChar strXml += ' ' strXml += ' ' strXml += ' Sheet1!$' + LETTERS[idxColLtr] + '$1' - strXml += ' ' + obj.name + '' + strXml += ' ' + encodeXmlEntities(obj.name) + '' strXml += ' ' strXml += ' '