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

fix: fix parsing of selector with # in class names #1116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paldepind
Copy link
Member

Addresses the selector parsing issue in #1113.

@kuraga
Copy link

kuraga commented Mar 22, 2024

div.bold.bg-[#f0f0f0].shadow

@paldepind , sorry, is # acceptable here because of the opening [?

@paldepind
Copy link
Member Author

@kuraga No, the # symbol is valid in class names in general. The [ is not necessary.

@kuraga
Copy link

kuraga commented Mar 22, 2024

@paldepind , why f0f0f0 isn't an id? :) Tag: div, classes: .bold, .bg-[, .shadow, id: #f0f0f0].

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

Successfully merging this pull request may close these issues.

2 participants