Open petter opened 4 years ago
Ran into some issues where emmet wouldn't correctly expand abbreviations containing class names with a / or a :. These characters are quite commonly used in some css frameworks like TailwindCSS.
/
:
Before fix:
<div class="w-1"></div>
After fix:
<div class="w-1/2"></div>
<a class="hover" href=""></a> <text-orange-300> <span>Lorem</span> </text-orange-300>
<a class="hover:text-orange-300" href=""><span>Lorem</span></a>
Thanks for this @petter!
Ran into some issues where emmet wouldn't correctly expand abbreviations containing class names with a
/
or a:
. These characters are quite commonly used in some css frameworks like TailwindCSS.Examples:
.w-1/2
Before fix:
After fix:
a.hover:text-orange-300>lorem1
Before fix:
After fix: