Skip to content

Commit 7c427fc

Browse files
authored
Merge pull request #109 from vargaandrea/master
Add missing encoding
2 parents 642f1e6 + eb7e3b1 commit 7c427fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Html2Text.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ protected function buildlinkList($link, $display, $linkOverride = null)
417417
}
418418

419419
// Ignored link types
420-
if (preg_match('!^(javascript:|mailto:|#)!i', html_entity_decode($link))) {
420+
if (preg_match('!^(javascript:|mailto:|#)!i', html_entity_decode($link, $this->htmlFuncFlags, self::ENCODING))) {
421421
return $display;
422422
}
423423

0 commit comments

Comments
 (0)