diff options
author | Mario <mario@mariovavti.com> | 2022-03-02 19:52:47 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-03-02 19:52:47 +0000 |
commit | 34f64148e8c936ac1189be937329ebe708e942b6 (patch) | |
tree | de66f3430a3c7a4d80f1450c715f0a9f3355a8dd /vendor/league/html-to-markdown/src | |
parent | fc5dad198333cbed7a13d97f44d937554356f1a6 (diff) | |
download | volse-hubzilla-34f64148e8c936ac1189be937329ebe708e942b6.tar.gz volse-hubzilla-34f64148e8c936ac1189be937329ebe708e942b6.tar.bz2 volse-hubzilla-34f64148e8c936ac1189be937329ebe708e942b6.zip |
composer updates
Diffstat (limited to 'vendor/league/html-to-markdown/src')
-rw-r--r-- | vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php | 2 | ||||
-rw-r--r-- | vendor/league/html-to-markdown/src/Element.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php b/vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php index ce280cc79..a2b1ac14a 100644 --- a/vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php +++ b/vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php @@ -10,7 +10,7 @@ class HorizontalRuleConverter implements ConverterInterface { public function convert(ElementInterface $element): string { - return "- - - - - -\n\n"; + return "---\n\n"; } /** 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 |