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

Bug: Sometimes newlines are not preserved #28

Open
dmgolembiowski opened this issue Jul 4, 2024 · 0 comments
Open

Bug: Sometimes newlines are not preserved #28

dmgolembiowski opened this issue Jul 4, 2024 · 0 comments

Comments

@dmgolembiowski
Copy link

dmgolembiowski commented Jul 4, 2024

TL;DR - sometimes successive lines get flattened into a single line. I observed this by creating a multi-line code block originally in markdown format:

Note: Actual \` are replaced with what you'd expect, but for the sake of this issue being semi-legible this is how I'm representing it.

\`\`\`syntaxName
// comment line
things and stuff with commonly used source code glyphs like semi-colons and parentheses

// another comment line
\`\`\`

The observed problem arises where "things and stuff..." gets shoved back, concatenating with the line starting with // comment line. After that happens, seemingly most newlines get lost unless two successive newlines are used. Curiously, if two newlines are used, the full-UI pass thru yields the correct original input.

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