Skip to content

Commit

Permalink
Merge pull request #315 from 418sec/1-npm-frappe-charts
Browse files Browse the repository at this point in the history
  • Loading branch information
scmmishra committed Dec 14, 2020
2 parents 6fce4d6 + 2fb0609 commit d5706a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/charts/AxisChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default class AxisChart extends BaseChart {
let values = d.values;
let cumulativeYs = d.cumulativeYs || [];
return {
name: d.name,
name: d.name.replace(/<|>|&/g, (char) => char == '&' ? '&amp;' : char == '<' ? '&lt;' : '&gt;'),
index: i,
chartType: d.chartType,

Expand Down

0 comments on commit d5706a5

Please sign in to comment.