diff --git a/src/MarkdownParser.cxx b/src/MarkdownParser.cxx index 22b8889..ea633a2 100644 --- a/src/MarkdownParser.cxx +++ b/src/MarkdownParser.cxx @@ -114,6 +114,7 @@ std::string make_html(std::filesystem::path const &path) { // first (buflen) bytes of the next new line. newline = true; manualBreak = true; + append(' '); // If we were in the middle of inserting a header tag, close it here. if (tag_h > 0) {