X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/80cf5df1cd5c249a547f877c73fd6feba9b763b0..de46b621869b3cec48efdb6520ec29177f267869:/utils/specialphrases.php?ds=sidebyside diff --git a/utils/specialphrases.php b/utils/specialphrases.php index 28d55010..309c5253 100755 --- a/utils/specialphrases.php +++ b/utils/specialphrases.php @@ -42,9 +42,9 @@ { foreach($aMatches as $aMatch) { - $sLabel = $aMatch[1]; - $sClass = $aMatch[2]; - $sType = $aMatch[3]; + $sLabel = trim($aMatch[1]); + $sClass = trim($aMatch[2]); + $sType = trim($aMatch[3]); # hack around a bug where building=yes was imported with # quotes into the wiki $sType = preg_replace('/"/', '', $sType);