We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d95456 commit eca4bd6Copy full SHA for eca4bd6
src/Converter/HeaderConverter.php
@@ -35,7 +35,7 @@ public function convert(ElementInterface $element)
35
$style = $this->config->getOption('header_style', self::STYLE_SETEXT);
36
37
if (strlen($element->getValue()) === 0) {
38
- return '';
+ return "\n";
39
}
40
41
if (($level === 1 || $level === 2) && !$element->isDescendantOf('blockquote') && $style === self::STYLE_SETEXT) {
0 commit comments