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

List not rendering correctly when preceded by word #1452

Closed
augustelalande opened this issue Mar 17, 2024 · 1 comment
Closed

List not rendering correctly when preceded by word #1452

augustelalande opened this issue Mar 17, 2024 · 1 comment

Comments

@augustelalande
Copy link

List are not rendering correctly when preceded by word or sentence.

For example:

list:
* item1
* item2

transcompiles to

<p>list:
* item1
* item2</p>

code to reproduce

html = markdown.markdown("""list:
* item1
* item2
""")

with open('out.html', 'w', encoding='utf-8', errors='xmlcharrefreplace') as f:
    f.write(html)

I don't think this is intentional, but let me know if it is.

Downstream issue: astral-sh/ruff#10427

@augustelalande
Copy link
Author

Nevermind duplicate of #1442

@augustelalande augustelalande closed this as not planned Won't fix, can't repro, duplicate, stale Mar 17, 2024
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