diff --git a/src/Entity/Link.php b/src/Entity/Link.php index afe6453..45af128 100644 --- a/src/Entity/Link.php +++ b/src/Entity/Link.php @@ -6,6 +6,8 @@ namespace Yggverse\Gemtext\Entity; class Link { + public const TAG = '=>'; + private string $_address; private ?string $_alt; @@ -100,7 +102,7 @@ class Link public function toString(): string { $parts = [ - '=>', + self::TAG, $this->getAddress() ];