-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support parsing elements with no closing tag #221
Comments
Hi! Thank you for your issue. |
Alright! Thanks for letting me know. |
@jdrouet Thanks for the amazing crate! ❤️ Would love to pick your brain a bit more on this:
Appreciate your time. |
Bump, Imo i think there's valid need for these. If @jdrouet can propose a direction, maybe migrating to a different parser can be work on :) |
@jdrouet would (some?) other void elements also needed to be ignored similar to https://html.spec.whatwg.org/multipage/syntax.html#void-elements |
@paulgoetze thanks for finding this! I'll update it! |
@paulgoetze done and released ;) |
@jdrouet could we support the same for the |
Hey, |
I am trying to parse MJML that includes
<br>
tags, but I get the following error:invalid format
. JavaScript parser for MJML doesn't seem to have to this issue. For example, the following MJML renders without any issues on https://mjml.io/try-it-live:It works when I replace
<br>
with<br/>
but I am trying to parse some external templates and in some of these templates,<br>
tags have additional data attributes, so I can't do a simple find and replace.Please let me know if this can be supported.
The text was updated successfully, but these errors were encountered: