maddy icon indicating copy to clipboard operation
maddy copied to clipboard

make sure all inline block parsers finished

Open max-spb opened this issue 1 year ago • 1 comments

If the last line in the input mardown has inline blocks, the "if" statement finishes only the most inner one, so the last line is lost in the output. To finish all inline blocks it's needed to feed an empty string for each of them, so "if" needs to be rplaces with "while".

Consider the following mardown input:

std::stringstream inputMarkdown(R"(
Some test as the main paragraph

> Some text as a block-quote)");

max-spb avatar May 03 '24 07:05 max-spb

Thank you for your contribution. Can you please add a test?

progsource avatar Jul 10 '24 02:07 progsource