From 8f0e1ffcd65035093303dc221422dfb5e078556c Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 24 Jul 2024 00:01:46 +0300 Subject: [PATCH] fix links escape --- src/Entity/Browser/Container/Page/Content/Gemtext.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Entity/Browser/Container/Page/Content/Gemtext.php b/src/Entity/Browser/Container/Page/Content/Gemtext.php index 45144886..fd097008 100644 --- a/src/Entity/Browser/Container/Page/Content/Gemtext.php +++ b/src/Entity/Browser/Container/Page/Content/Gemtext.php @@ -130,8 +130,10 @@ class Gemtext extends Markup { $line[] = sprintf( '%s', - $this->_url( - $entity->getAddress() + htmlspecialchars( + $this->_url( + $entity->getAddress() + ) ), htmlspecialchars( $entity->getAddress()