Skip to content

fix: escape css selectors#821

Open
eli-front wants to merge 1 commit intoankit:mainfrom
eli-front:main
Open

fix: escape css selectors#821
eli-front wants to merge 1 commit intoankit:mainfrom
eli-front:main

Conversation

@eli-front
Copy link

Fixes #820

This PR escapes special characters when generating the css selector. Escaping is required when matching elements like this <p class="text-lg sm:text-xl text-gray-200">...</p> because of the colon in this case.

@eli-front
Copy link
Author

@ankit

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.

[Bug]: With tailwind, stylebot doesn't correctly escape colons

1 participant