From efec0af394df5ed4674d9cba8945be17de475388 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 23 Sep 2019 09:16:28 +0000 Subject: composer update vendor/league/html-to-markdown/.github/ (cherry picked from commit e4336578388b3e59ba8130123649ccdc9b8487d0) --- vendor/league/html-to-markdown/src/Converter/HeaderConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/league/html-to-markdown/src/Converter/HeaderConverter.php') 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) { -- cgit v1.2.3