X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a7c8e8897ba93083fa829b700d78c083c025e432..932d945b7f897fd18be7d4c2fac3eda3915aa296:/lib/template/search-html.php diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 70ca70e0..9269672d 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -358,7 +358,7 @@ target="_blank">FAQ echo ', '.$aResult['aBoundingBox'][1]; echo ', '.$aResult['aBoundingBox'][2]; echo ', '.$aResult['aBoundingBox'][3]; - if (isset($aResult['aPolyPoints'])) echo ', '.javascript_renderData($aResult['aPolyPoints']); + if (isset($aResult['aPolyPoints'])) echo ', '.json_encode($aResult['aPolyPoints']); echo ');\'>'; } elseif (isset($aResult['zoom']))