diff --git a/src/Pango.php b/src/Pango.php
index 310ae66..de46f7f 100644
--- a/src/Pango.php
+++ b/src/Pango.php
@@ -160,18 +160,32 @@ class Pango
}
}
- $lines[$index] = sprintf(
- '%s',
- $address,
- self::escape(
- urldecode(
- $address
+ if ($alt == $address)
+ {
+ $lines[$index] = sprintf(
+ '%s',
+ $address,
+ self::escape(
+ $alt
)
- ),
- self::escape(
- $alt
- )
- );
+ );
+ }
+
+ else
+ {
+ $lines[$index] = sprintf(
+ '%s',
+ $address,
+ self::escape(
+ urldecode(
+ $address
+ )
+ ),
+ self::escape(
+ $alt
+ )
+ );
+ }
$escaped[] = $index;
}