diff --git a/bridges/ComboiosDePortugalBridge.php b/bridges/ComboiosDePortugalBridge.php index 4d82881f..610e23b3 100644 --- a/bridges/ComboiosDePortugalBridge.php +++ b/bridges/ComboiosDePortugalBridge.php @@ -14,7 +14,7 @@ class ComboiosDePortugalBridge extends BridgeAbstract { $item = array(); $item['title'] = $element->innertext; - $item['uri'] = self::BASE_URI . $element->href; + $item['uri'] = self::BASE_URI . implode('/', array_map('urlencode', explode('/', $element->href))); $this->items[] = $item; }