Skip to content
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

MRML panics when using mj-divider inside mj-hero #500

Open
LorenzoLeonardini opened this issue Dec 18, 2024 · 1 comment
Open

MRML panics when using mj-divider inside mj-hero #500

LorenzoLeonardini opened this issue Dec 18, 2024 · 1 comment

Comments

@LorenzoLeonardini
Copy link

Similar to #453, but in this case the expected result is for this to work:

<mjml>
  <mj-body>
    <mj-hero>
      <mj-divider />
    </mj-hero>
  </mj-body>
</mjml>

mj-hero should behave like a mj-section with a single mj-column.

thread '<unnamed>' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mrml-4.0.1/src/mj_divider/render.rs:34:61:
called `Option::unwrap()` on a `None` value

my stacktrace is a bit useless because it comes from mjml-python, and I don't really know rust to reproduce it directly :')

@jdrouet
Copy link
Owner

jdrouet commented Dec 23, 2024

Thanks, I'll have a look 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants