smithy icon indicating copy to clipboard operation
smithy copied to clipboard

Bug: data-attributes are not supported

Open fxdave opened this issue 4 years ago • 1 comments
trafficstars

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.

fxdave avatar Mar 19 '21 22:03 fxdave

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

rbalicki2 avatar Mar 27 '21 04:03 rbalicki2