X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c1fdb9a915f673239f686ff37da03da10ea1186c..b42939a3249e73027516eb6e79a9f1f8c642ff95:/lib/template/search-html.php diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 02c8cb4d..7da79ad8 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -199,7 +199,7 @@ target="_blank">FAQ } echo (isset($aResult['icon'])?'icon':''); - echo ' '.$aResult['name'].''; + echo ' '.htmlspecialchars($aResult['name']).''; echo ' '.round($aResult['lat'],3).','.round($aResult['lon'],3).''; echo ' '.$aResult['place_id'].''; if (isset($aResult['label']))