diff --git a/src/Html2Text.php b/src/Html2Text.php index 9fd9123..b615ec5 100644 --- a/src/Html2Text.php +++ b/src/Html2Text.php @@ -358,7 +358,7 @@ protected function doConvert() if ($this->linkList) { $text .= "\n\nLinks:\n------\n"; foreach ($this->linkList as $i => $url) { - $text .= '[' . ($i + 1) . '] ' . $url . "\n"; + $text .= '[' . ($i + 1) . '] ' . html_entity_decode($url, $this->htmlFuncFlags, self::ENCODING) . "\n"; } }