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: data-attributes are not supported #10

Open
fxdave opened this issue Mar 19, 2021 · 1 comment
Open

Bug: data-attributes are not supported #10

fxdave opened this issue Mar 19, 2021 · 1 comment

Comments

@fxdave
Copy link

fxdave commented Mar 19, 2021

It's not necessary, just an observation.

<div id="something">
   <div data-todo="some things"> </div>
</div>

Actual behavior:
The div with the id something is not rendered because its child has a data attribute.

Expected behavior:
The div with the id something is rendering with its child.

@rbalicki2
Copy link
Owner

Ah, interesting! This is unfortunate.

I don't think this is something I'll fix before rolling out a new version of Smithy with a better syntax.

Sorry, once again, I wish I had a better answer

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