X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8fd7d319b7ef6ee4d4f8cf3b61eb47903e7fb1eb..5be0f828c1cdf9f69aefdcc158fc06f2f5a67cfc:/lib/template/search-xml.php?ds=inline diff --git a/lib/template/search-xml.php b/lib/template/search-xml.php index dfcf1375..693330bb 100644 --- a/lib/template/search-xml.php +++ b/lib/template/search-xml.php @@ -80,7 +80,7 @@ echo " display_name='".htmlspecialchars($aResult['name'], ENT_QUOTES)."'"; echo " class='".htmlspecialchars($aResult['class'])."'"; - echo " type='".htmlspecialchars($aResult['type'])."'"; + echo " type='".htmlspecialchars($aResult['type'], ENT_QUOTES)."'"; echo " importance='".htmlspecialchars($aResult['importance'])."'"; if (isset($aResult['icon']) && $aResult['icon']) {