-
Notifications
You must be signed in to change notification settings - Fork 72
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
Wrong rendering of HTML blocks #433
Comments
Isn't this an issue with upstream library which emanote uses? https://github.com/jgm/commonmark-hs |
Probably not. The commonmark-cli tool with all extensions turned on ( |
This looks correct. |
|
Describe the bug
HTML blocks in markdown documents are not rendered properly. Check the example below.
To Reproduce
I use the current HEAD version of Emanote (i.e. 7063381).
Create a
.md
file with the following content:Emanote generates the following HTML:
Expected behavior
See the CommonMark Spec on HTML blocks.
The reference Commonmark implementation https://spec.commonmark.org/dingus/ converts this to:
I would expect similar output.
Additional context
I'm especially interested in the
<details>
tag to create an effect similar to this:bbb ccc ddd
However, the problem probably also applies to other HTML tags.
#23 may be related.
The text was updated successfully, but these errors were encountered: