From b0f8e62ce53aada3277a2acd48c9e5901c9e91df Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 16 Apr 2024 19:46:39 +0300 Subject: [PATCH] add title attribute to the links tag --- src/Pango.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Pango.php b/src/Pango.php index 97b7ad9..310ae66 100644 --- a/src/Pango.php +++ b/src/Pango.php @@ -161,8 +161,13 @@ class Pango } $lines[$index] = sprintf( - '%s', + '%s', $address, + self::escape( + urldecode( + $address + ) + ), self::escape( $alt )