mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-23 13:06:15 +03:00
silently remove leading/trailing spaces
This commit is contained in:
parent
a44e21de49
commit
43ce82d08e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user