maddy
maddy copied to clipboard
make sure all inline block parsers finished
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)");
Thank you for your contribution. Can you please add a test?