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

Issue with rendering whitespace to commonmark #566

Open
bbelay-ptc opened this issue Nov 13, 2024 · 0 comments
Open

Issue with rendering whitespace to commonmark #566

bbelay-ptc opened this issue Nov 13, 2024 · 0 comments

Comments

@bbelay-ptc
Copy link

There is an issue with cmark_render_commonmark function when it gets as an input a document that has a text node with a whitespace in the beginning, it does not return a correct markdown string.

For example, the following document:
Document node -> Paragraph node -> Text node with text literal
is rendered as text\n, which is a code block.

From looking at some other implementation I see the whitespace is replaced with  . Can this applied in cmark? thanks

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

No branches or pull requests

1 participant