Skip to content
Discussion options

You must be logged in to vote

<onii-quill /> is not HTML. It’s JSX. If you have markdown, markdown supports HTML, and it won’t support JSX.

For <onii-quil></onii-quil>, CommonMark describes your behavior: https://spec.commonmark.org/dingus/?text=%3Conii-quil%3E%3C%2Fonii-quil%3E. If that is what the loader results in, it is correct.
If you want to write it so that the paragraph doesn’t show up, put the opening and closing tag on two lines to get “condition 7” (what I call “complete HTML”) https://spec.commonmark.org/0.30/#html-blocks.
I have in the past found this condition a bit too strict. I can imagine, like you, that a closing tag should be allowed to follow the opening tag. You could raise an issue with CommonMar…

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
2 replies
@JounQin
Comment options

JounQin Aug 26, 2022
Collaborator Author

@wooorm
Comment options

Comment options

You must be logged in to vote
9 replies
@wooorm
Comment options

@JounQin
Comment options

JounQin Aug 26, 2022
Collaborator Author

@JounQin
Comment options

JounQin Aug 26, 2022
Collaborator Author

@wooorm
Comment options

@JounQin
Comment options

JounQin Aug 26, 2022
Collaborator Author

Answer selected by JounQin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants