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