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
{ {
$line[] = sprintf( $line[] = sprintf(
'<a href="%s" title="%s"><span underline="none">%s</span></a>', '<a href="%s" title="%s"><span underline="none">%s</span></a>',
htmlspecialchars(
$this->_url( $this->_url(
$entity->getAddress() $entity->getAddress()
)
), ),
htmlspecialchars( htmlspecialchars(
$entity->getAddress() $entity->getAddress()

Loading…
Cancel
Save