X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c1fdb9a915f673239f686ff37da03da10ea1186c..fa0cf215e723401fec62a3b336a4ed8908c2bfed:/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'])?'':'');
- echo ' '.$aResult['name'].'';
+ echo ' '.htmlspecialchars($aResult['name']).'';
echo ' '.round($aResult['lat'],3).','.round($aResult['lon'],3).'';
echo ' '.$aResult['place_id'].'';
if (isset($aResult['label']))