aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/league/html-to-markdown/src/Element.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/league/html-to-markdown/src/Element.php')
-rw-r--r--vendor/league/html-to-markdown/src/Element.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/league/html-to-markdown/src/Element.php b/vendor/league/html-to-markdown/src/Element.php
index 5407f1ffb..0515b5995 100644
--- a/vendor/league/html-to-markdown/src/Element.php
+++ b/vendor/league/html-to-markdown/src/Element.php
@@ -63,7 +63,7 @@ class Element implements ElementInterface
public function getValue(): string
{
- return $this->node->nodeValue;
+ return $this->node->nodeValue ?? '';
}
public function hasParent(): bool