-
Notifications
You must be signed in to change notification settings - Fork 75
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
An rendering bug when using <p> tag. #22
Comments
I'm sure it works as expected :). Can't understand idea of you code. Could you provide full executable sample? I'll try to help then. |
@puzrin Oh, sorry, I made a standalone test here: And it looks good, maybe there exists some problem at my project, just close this issue, thank you. |
No problem, just note that "container" is for block elements inside. So, it's not good idea to use Feel free to ask more questions. |
Thank you very much, I finally found out that it's bug of Vue which cannot render the nested emmm, so I still have another question, why the rendering content would be embedded in a My test input:
And I found two token |
Probably, you misunderstood "markdown spirit" :). No inline content allowed wihout Let's inspect your example:
If you type inner:
you should get:
Then, after adding container wrapper, you should get:
That's exactly what container is created for. If you try to use it in another way, you will fall in troubles. If you just wish custom wrapper for unparsed plain text, then "fenced block" will be more suitable. |
Thank you for your detailed explanation. It's my misunderstanding. I also found out in the specification: https://www.w3.org/TR/html401/struct/text.html#h-9.3.1
Studied it! Thank you! |
This seems like a common problem with this library, why not add a configuration option to just exclude the paragraph tag? |
My options is like this:
Whose render result will be:
The expected result should be like this instead.
The text was updated successfully, but these errors were encountered: