Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make sure all inline block parsers finished #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

max-spb
Copy link

@max-spb max-spb commented May 3, 2024

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)");

@progsource progsource changed the base branch from master to dev July 10, 2024 02:32
@progsource
Copy link
Owner

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

@progsource progsource added the bug label Jul 19, 2024
@progsource progsource changed the base branch from dev to master July 19, 2024 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants