X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a44e21de49d397d8fb6d860a03f1cde711be59c0..932d945b7f897fd18be7d4c2fac3eda3915aa296:/lib/template/search-xml.php?ds=inline diff --git a/lib/template/search-xml.php b/lib/template/search-xml.php index 0521de0e..f8e054e3 100644 --- a/lib/template/search-xml.php +++ b/lib/template/search-xml.php @@ -45,7 +45,7 @@ if ($bShowPolygons && isset($aResult['aPolyPoints'])) { echo ' polygonpoints=\''; - echo javascript_renderData($aResult['aPolyPoints']); + echo json_encode($aResult['aPolyPoints']); echo '\''; } }