We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using Svelte with MJML (the email HTML lib) to build the template of emails.
The compiler gives the following error :
CompileError: `<tbody>` is invalid inside `<mj-table>`
Same with <tr> if i remove <tbody>. The official MJML documentation states it should be allowed : https://documentation.mjml.io/#mj-table
<tr>
<tbody>
Is there any way to bypass this error or to add custom rules to the HTML check ?
https://github.com/lhoang/bug-mjml-svelte5
No response
System: OS: macOS 14.7 CPU: (10) arm64 Apple M1 Pro Memory: 72.63 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm pnpm: 8.15.4 - ~/.nvm/versions/node/v20.11.1/bin/pnpm Browsers: Chrome: 129.0.6668.90 Chrome Canary: 131.0.6764.0 npmPackages: svelte: ^5.0.0-next.260 => 5.0.0-next.262
blocking an upgrade
The text was updated successfully, but these errors were encountered:
I guess validation should be suspended for custom elements, same as for components.
<script> import Table from './Table.svelte'; </script> <Table> <!-- No error --> <tbody></tbody> </Table> <div> <!-- Error --> <tbody></tbody> </div>
Sorry, something went wrong.
fix: exclude custom elements from HTML tree validation
48d5333
fixes #13537
fix: exclude custom elements from HTML tree validation (#13540)
06c9e58
dummdidumm
Successfully merging a pull request may close this issue.
Describe the bug
I'm using Svelte with MJML (the email HTML lib) to build the template of emails.
The compiler gives the following error :
Same with
<tr>
if i remove<tbody>
.The official MJML documentation states it should be allowed :
https://documentation.mjml.io/#mj-table
Is there any way to bypass this error or to add custom rules to the HTML check ?
Reproduction
https://github.com/lhoang/bug-mjml-svelte5
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: