From 6cc24e475a0f4775e93056b71f342fccd0595e5d Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Thu, 13 Jun 2024 17:28:08 +0200 Subject: [PATCH] =?UTF-8?q?:white=5Fcheck=5Fmark:=20N=C2=B07571=20-=20HTML?= =?UTF-8?q?2Text=20lib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/soundasleep/html2text/src/Html2Text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/soundasleep/html2text/src/Html2Text.php b/lib/soundasleep/html2text/src/Html2Text.php index 5153cefcf..16f405883 100644 --- a/lib/soundasleep/html2text/src/Html2Text.php +++ b/lib/soundasleep/html2text/src/Html2Text.php @@ -228,7 +228,7 @@ class Html2Text { return $nextName; } - static function iterateOverNode($node, $prevName = null, $in_pre = false, $is_office_document = false, $options) { + static function iterateOverNode($node, $prevName = null, $in_pre = false, $is_office_document = false, $options = []) { if ($node instanceof \DOMText) { // Replace whitespace characters with a space (equivilant to \s) if ($in_pre) {