From f9a01ca9688162d6b2429c0ca725c38f034b0534 Mon Sep 17 00:00:00 2001 From: Jonathan Pike Date: Tue, 19 May 2020 21:42:44 +0100 Subject: [PATCH] Update Html2Text.php --- src/Html2Text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } }