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

bug: <mj-li> does not support HTML #14

Open
mdonadio opened this issue Sep 13, 2023 · 0 comments
Open

bug: <mj-li> does not support HTML #14

mdonadio opened this issue Sep 13, 2023 · 0 comments
Labels
Type: Bug Problems in the program which will cause issues for users or implementors.

Comments

@mdonadio
Copy link

MJML Bullet List version

1.2.2

MJML version

4.14.1

What operating system are you using?

Mac

Node version

v18.16.0

npm or yarn version

1.22.19

Current behavior

<ml-li> elements do not support HTML inside the element. I believe this is because it isn't declared as an ending tag, eg <ml-text>.

This prevents common inline HTML like <b>, <i>, <sup> from being used:

Line 109 of example.mjml (sup) — Element sup doesn't exist or is not registered

Expected behavior

Inline HTML elements should work.

Steps to reproduce

Add a <sup> to a <mj-li>

Relevant log output

Line 109 of example.mjml (sup) — Element sup doesn't exist or is not registered

Related code

Brand®

Preferred solution

No response

Other information

No response

@mdonadio mdonadio added the Type: Bug Problems in the program which will cause issues for users or implementors. label Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Problems in the program which will cause issues for users or implementors.
Projects
None yet
Development

No branches or pull requests

1 participant