-
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
<div></div> cannot used in raw HTML #119
Comments
Oddly this happens only for <section>
Hello World
</section> |
If you manage to get this working with Emanote (try with |
@Coda-Coda Do you have the HTML snippet for activating Argdown on code blocks on the HTML generated by Emanote? I can give it and try and make it work. I can't figure out just from the Argdown docs as to what the raw embed code should be (it only talks about specific static site generators). |
This happens because the raw html blocks are wrapped in a It was introduced in #43 and the present bug report was expected back then. #433 is somewhat related. |
Describe the bug
Placing a
<div></div>
inside a block using ```{=html} in a emanote markdown file causes the following error:To Reproduce
Steps to reproduce the behavior:
(Without the slash, GitHub's markdown makes the slash necessary).
emanote
Expected behavior
The page renders two Hello Worlds.
Desktop (please complete the following information):
Additional context
The following code in xmlhtml seems to be relevant: https://github.com/snapframework/xmlhtml/blob/master/src/Text/XmlHtml/HTML/Render.hs#L133
This came up because I was trying to follow these instruction for embedding an Argdown component which include
<div>
tags.The text was updated successfully, but these errors were encountered: