-
Notifications
You must be signed in to change notification settings - Fork 428
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
HTML elements are replaced by hashes #508
Comments
Current workaround is to make sure that there is a newline after the first starting div tag. |
This one comes down to the first line having two opening tags and one close tag. The parser doesn't realise that the first tag isn't closed and that is what messes it up. I've managed to get a patch working but I'll see if I can clean it up a bit before I submit a PR |
Regarding the test for the fix, the unordered list at the end is important. The markdown renders correctly if you omit the unordered list.
|
Oh never mind, I see the test has the unordered list at the end. Sorry about that |
No worries! I had originally omitted it, assuming it was unimportant but realised the mistake |
Python 3.10.8
markdown2==2.4.8
Code
Output
The text was updated successfully, but these errors were encountered: