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

Tailwind 3.1 regression: No longer keeps classes mentioned in markdown backticks #8559

Closed
LeoniePhiline opened this issue Jun 9, 2022 · 0 comments · Fixed by #8569
Closed

Comments

@LeoniePhiline
Copy link

What version of Tailwind CSS are you using?

For example: v3.1.0

What build tool (or framework if it abstracts the build tool) are you using?

  • parcel
  • tailwindcss play

What version of Node.js are you using?

For example: v16.14.2

What browser are you using?

For example: Firefox

What operating system are you using?

For example: OpenSUSE linux

Reproduction URL

https://play.tailwindcss.com/XRYewVE3SL

Describe your issue

Check Generated CSS -> Components.

The classes .alert-success .alert-info .alert-failure are missing in TailwindCSS 3.1, but are rendered in TailwindCSS 3.0 and earlier. This is a 3.1.0 regression.

Removing the backticks around the class names (but keeping the leading .) in the HTML comment makes the classes get rendered in TailwindCSS 3.1 as well.

Note

This might have the same root cause as #8557 has.

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 a pull request may close this issue.

1 participant