-
Notifications
You must be signed in to change notification settings - Fork 154
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
Tag is ignored when double quote is missing in tag attribute #114
Comments
(Originally posted this on #160, reproducing here for completeness) The underlying problem here is with the way that Markdoc identifies the end of a tag construct in content. When it sees a What we should probably do is solve this in the markdown-it plugin and make the parser generate an error for the whole block any time it sees the tag start syntax without a matched end. I think this would be cleaner than trying to identify malformed tags during the validation process. I will tackle fixing this myself at some point in the next week or two. For now, if you want to be able to catch these cases reliably during validation without a large surface area of potential false positives, I would suggest overriding the
Thanks for raising this issue! |
Test |
Test |
{% quote content="test /%} |
What happened?
This was quite hard to debug. I had the following:
No error was thrown. I'd expect that the parser throws an error.
To reproduce
See above.
Version
0.1.3
Additional context
No response
The text was updated successfully, but these errors were encountered: