Browse Source

fix links escape

PHP-GTK3
yggverse 4 months ago
parent
commit
8f0e1ffcd6
  1. 2
      src/Entity/Browser/Container/Page/Content/Gemtext.php

2
src/Entity/Browser/Container/Page/Content/Gemtext.php

@ -130,8 +130,10 @@ class Gemtext extends Markup @@ -130,8 +130,10 @@ class Gemtext extends Markup
{
$line[] = sprintf(
'<a href="%s" title="%s"><span underline="none">%s</span></a>',
htmlspecialchars(
$this->_url(
$entity->getAddress()
)
),
htmlspecialchars(
$entity->getAddress()

Loading…
Cancel
Save