diff --git a/src/Gemtext/Link.php b/src/Gemtext/Link.php index f7ed077..a479257 100644 --- a/src/Gemtext/Link.php +++ b/src/Gemtext/Link.php @@ -15,7 +15,7 @@ class Link public function getAddress(): ?string { - if (preg_match('/^([^\s]+)\s.*/', trim($this->_line), $match)) + if (preg_match('/^=>\s*([^\s]+)/', trim($this->_line), $match)) { return trim( $match[1]