-
Notifications
You must be signed in to change notification settings - Fork 91
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
GoRazor panic on a strange case #7
Comments
Looks like gorazor is checking if html tag is closed? |
@Wuvist opener := parser.ast.closest(MKP, tagName)
if opener.TagName != tagName { //unmatched
panic("UNMATCHED!")
} else {
parser.ast = opener
} Should we give a warning message about this, and let it go? |
I think we could just remove this check? |
I will just report a warning message with the position like this UNMATCHED tag close: div at line: 14 pos: 1 |
sure. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
case reference: https://gist.github.com/Wuvist/7f22c2f3e2348e7b8479
Panic out put
The text was updated successfully, but these errors were encountered: