diff --git a/src/Pango.php b/src/Pango.php
index d6d82f4..3d9e636 100644
--- a/src/Pango.php
+++ b/src/Pango.php
@@ -166,7 +166,9 @@ class Pango
{
$lines[$index] = sprintf(
'%s',
- $address,
+ self::escape(
+ $address
+ ),
self::escape(
$alt
)
@@ -177,7 +179,9 @@ class Pango
{
$lines[$index] = sprintf(
'%s',
- $address,
+ self::escape(
+ $address
+ ),
self::escape(
urldecode(
$address