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

Mixing class attribute with class shorthand results in unexpected output #15

Closed
LuLaValva opened this issue Oct 24, 2022 · 1 comment · Fixed by #26
Closed

Mixing class attribute with class shorthand results in unexpected output #15

LuLaValva opened this issue Oct 24, 2022 · 1 comment · Fixed by #26
Labels

Comments

@LuLaValva
Copy link
Member

Version: 1.2.2

Details

Various inconsistencies are present when the class shorthand is used in conjunction with the class attribute.

Expected Behavior

Input:

<div.shorthand class="attr"/>
<div.shorthand class=["attr"]/>

Expected Output:

<div.shorthand class="attr"/>
<div.shorthand class=["attr"]/>

OR

<div.shorthand.attr/>
<div.shorthand.attr/>

Actual Output

<div.shorthand.attr/>
<div class=["attr"]/>
@github-actions
Copy link

🎉 This issue has been resolved in version 1.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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