Skip to content

Commit

Permalink
Escape svg label
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
  • Loading branch information
MoonE committed Nov 3, 2024
1 parent 90f3c58 commit 5acf10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/classes/Gis/GisVisualization.php
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ private function prepareDataSet(array $data, array $scale_data, $format, $result
if ($format === 'svg') {
$results .= $gis_obj->prepareRowAsSvg(
$row[$this->settings['spatialColumn']],
$label,
htmlspecialchars($label),
$this->settings['colors'][$index],
$scale_data
);
Expand Down

0 comments on commit 5acf10f

Please sign in to comment.