X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fbc5ba13f8a28f8e5fc83675823efbaeea6dcb70..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']))