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

Fix dropping newlines, breaking some code blocks #450

Merged
merged 5 commits into from
May 13, 2024
Merged

Fix dropping newlines, breaking some code blocks #450

merged 5 commits into from
May 13, 2024

Conversation

msrd0
Copy link
Owner

@msrd0 msrd0 commented May 13, 2024

Turns out that codeblocks, while usually being formatted as one text event containing all the lines, sometimes have multiple text events, each ending with a newline. When removing those newlines, they are (a) missing in the output, and (b) pulldown-cmark-to-cmark chokes on the indent of the end of codeblock (Byron/pulldown-cmark-to-cmark#69).

Fixes #440

@msrd0 msrd0 merged commit 467ff96 into main May 13, 2024
4 checks passed
@msrd0 msrd0 deleted the fix-440 branch May 13, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in gotham_restful readme
1 participant