public function format(Address $address)
    {
        $fields = [
            'p-street-address' => $address->getStreet(),
            'p-extended-address' => $address->getExtended(),
            'p-post-office-box' => $address->getPobox(),
            'p-locality' => $address->getLocality(),
            'p-region' => $address->getRegion(),
            'p-postal-code' => $address->getPostal(),
            'p-country' => $address->getCountry()
        ];
        $tags = [];
        foreach ($fields as $k => $v) {
            if (strlen($v) > 0) {
                $tags[] = '<span class="' . $k . '">' . htmlspecialchars($v) . '</span>';
            }
        }
        $geo = $address->getGeo();
        if ($geo !== null) {
            $tags[] = '<span class="p-geo">' . $this->geoFormatter->format($geo) . '</span>';
        }
        return '<span class="h-adr">' . implode(' ', $tags) . '</span>';
    }