Browse Source

escape all url entities

main
yggverse 8 months ago
parent
commit
f12ff02616
  1. 8
      src/Pango.php

8
src/Pango.php

@ -166,7 +166,9 @@ class Pango @@ -166,7 +166,9 @@ class Pango
{
$lines[$index] = sprintf(
'<a href="%s">%s</a>',
$address,
self::escape(
$address
),
self::escape(
$alt
)
@ -177,7 +179,9 @@ class Pango @@ -177,7 +179,9 @@ class Pango
{
$lines[$index] = sprintf(
'<a href="%s" title="%s">%s</a>',
$address,
self::escape(
$address
),
self::escape(
urldecode(
$address

Loading…
Cancel
Save