[MarkdownParser] Add whitespace on line break

This commit is contained in:
luca0N! 2022-03-30 14:15:52 -03:00
parent 69bf645246
commit 17f7b3ec8b
Signed by: luca0N
GPG Key ID: 2E7B4655CF16D7D6
1 changed files with 1 additions and 0 deletions

View File

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