-
Notifications
You must be signed in to change notification settings - Fork 198
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
Spurious newline in generated literal_block
nodes
#407
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
This issue is also present in the new Input file:
HTML4 output (notice the unwanted blank line):
HTML5 output:
Native MyST output:
|
The problem is due to this code in docutils:
|
Describe the problem
The result of
main.to_docutils
include an extra newline in eachliteral_block
node.Link to your repository or website
No response
Steps to reproduce
Script:
Output:
Notice the extra newlines in the output of MyST (compared to the expected docutils output
ref
)The version of Python you're using
3.8
Versions of your packages
MyST: 5fd4c51
The text was updated successfully, but these errors were encountered: