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) {