@datarailsshared/dr_renderer 1.2.65 → 1.2.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1425,7 +1425,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
1427
|
highchartsRenderer.encodeHTMLBrackets = function (string) {
|
|
1428
|
-
return string.
|
|
1428
|
+
return string.replace(/</g, '<').replace(/>/g, '>');
|
|
1429
1429
|
};
|
|
1430
1430
|
|
|
1431
1431
|
highchartsRenderer.addSecondYAxis = function (pivotData, chartOptions, additionOptions, opts) {
|
|
@@ -6624,12 +6624,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
6624
6624
|
options = {};
|
|
6625
6625
|
} else {
|
|
6626
6626
|
options = options.replace(/(\r\n|\n|\r)/gm, "");
|
|
6627
|
-
|
|
6628
|
-
options = JSON.parse(options);
|
|
6629
|
-
} catch (e) {
|
|
6630
|
-
options = options.replaceAllC("{u'", "{'").replaceAllC(": u'", ": '").replaceAllC(", u'", ", '").replaceAllC("'", "\"")
|
|
6631
|
-
options = JSON.parse(options);
|
|
6632
|
-
}
|
|
6627
|
+
options = JSON.parse(options);
|
|
6633
6628
|
}
|
|
6634
6629
|
return options;
|
|
6635
6630
|
};
|