diff --git a/app/Views/widgetsExecute.php b/app/Views/widgetsExecute.php index a8532d29a..af5e9a92f 100644 --- a/app/Views/widgetsExecute.php +++ b/app/Views/widgetsExecute.php @@ -132,6 +132,7 @@ formatted)) { $wf = json_encode($data->formatted); + $wf = htmlspecialchars_decode($wf, ENT_QUOTES); $wf = str_replace('"function(event){location.href = this.options.url;}"', 'function(event){location.href = this.options.url;}', $wf); echo "\n\tHighcharts.chart(" . html_entity_decode($wf) . ");\n"; } ?>