mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
fix links escape
This commit is contained in:
parent
518dd5ced1
commit
8f0e1ffcd6
1 changed files with 4 additions and 2 deletions
|
|
@ -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>',
|
||||||
$this->_url(
|
htmlspecialchars(
|
||||||
$entity->getAddress()
|
$this->_url(
|
||||||
|
$entity->getAddress()
|
||||||
|
)
|
||||||
),
|
),
|
||||||
htmlspecialchars(
|
htmlspecialchars(
|
||||||
$entity->getAddress()
|
$entity->getAddress()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue