aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/league/html-to-markdown/src/Converter/HeaderConverter.php
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2019-09-23 19:18:53 +0200
committerM. Dent <dentm42@gmail.com>2019-09-23 19:18:53 +0200
commit1e924a8530e8d82c8926f59ef14914fbd5aea2c6 (patch)
tree88c351be326f2807f91dacbc4b66ab9973f2f6fa /vendor/league/html-to-markdown/src/Converter/HeaderConverter.php
parent23995ccb07780c37b6867ad84ca8ce6ff6b943a2 (diff)
parentefec0af394df5ed4674d9cba8945be17de475388 (diff)
downloadvolse-hubzilla-1e924a8530e8d82c8926f59ef14914fbd5aea2c6.tar.gz
volse-hubzilla-1e924a8530e8d82c8926f59ef14914fbd5aea2c6.tar.bz2
volse-hubzilla-1e924a8530e8d82c8926f59ef14914fbd5aea2c6.zip
Merge branch 'cherry-pick-e4336578' into 'dev'
composer update vendor/league/html-to-markdown/.github/ See merge request hubzilla/core!1734
Diffstat (limited to 'vendor/league/html-to-markdown/src/Converter/HeaderConverter.php')
-rw-r--r--vendor/league/html-to-markdown/src/Converter/HeaderConverter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/league/html-to-markdown/src/Converter/HeaderConverter.php b/vendor/league/html-to-markdown/src/Converter/HeaderConverter.php
index 05d4fe81e..353833263 100644
--- a/vendor/league/html-to-markdown/src/Converter/HeaderConverter.php
+++ b/vendor/league/html-to-markdown/src/Converter/HeaderConverter.php
@@ -35,7 +35,7 @@ class HeaderConverter implements ConverterInterface, ConfigurationAwareInterface
$style = $this->config->getOption('header_style', self::STYLE_SETEXT);
if (strlen($element->getValue()) === 0) {
- return '';
+ return "\n";
}
if (($level === 1 || $level === 2) && !$element->isDescendantOf('blockquote') && $style === self::STYLE_SETEXT) {