X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c1fdb9a915f673239f686ff37da03da10ea1186c..de978c9987ddbb6595029b23b5dfd2823fc4ea3f:/lib/template/search-html.php?ds=sidebyside 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']))