]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-xml.php
restrict viewbox size
[nominatim.git] / lib / template / search-xml.php
index dfcf1375e95231e7f7252ec9d373a040106ec5d8..693330bb52cfce29fba95d3ce1c45415085b4b99 100644 (file)
@@ -80,7 +80,7 @@
                echo " display_name='".htmlspecialchars($aResult['name'], ENT_QUOTES)."'";
 
                echo " class='".htmlspecialchars($aResult['class'])."'";
                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'])
                {
                echo " importance='".htmlspecialchars($aResult['importance'])."'";
                if (isset($aResult['icon']) && $aResult['icon'])
                {