Comments (2)
Got a fix for that lined up here:
Actually had nothing to do with the Rust stuff — if you add this test to the Rust parser you can see it passes:
#[test]
fn it_should_keep_candidates_with_brackets_in_arbitrary_values_inside_quotes() {
let candidates = run("content-['hello_[_]_world']", false);
assert_eq!(candidates, vec!["content-['hello_[_]_world']"]);
+ let candidates = run("supports-[content:\"(\")]:grid", false);
+ assert_eq!(candidates, vec!["supports-[content:\"(\")]:grid"]);
}
The Rust parser's job is just to extract strings from template files and pass those potential class name strings to the JS engine, so if it successfully pulls out the string then the problem is not in Rust but in JS somewhere 👍
Tailwind Play doesn't run any of the Rust code at all either, so when something can be reproduced in Play it's very likely a JS engine bug rather than a bug in the Rust parser.
from tailwindcss.
@adamwathan Good to know, and thanks!
from tailwindcss.
Related Issues (20)
- tailwind css installed but not working in my webpack+ umi + react project
- TailwindCSS is using stderr to log the messages "Rebuilding..." and "Done in [x]ms" HOT 1
- [v4] Chrome ~v103 chokes on comma in .bg-gradient-* Utility HOT 1
- PostCSS plugin not processing changes outside base directory HOT 3
- Tailwind does not delete unused css
- Cannot transition between outer and inner shadows
- Border is being overwritten despite appearing after the original border class
- tailwind-cli casually emits to `stderr` HOT 2
- [v4] Publish @tailwindcss/postcss as ESM HOT 2
- [v4] Sourcemaps not enabled in postcss plugin HOT 2
- bg-opacity doesn't work on dark mode
- ```content.transform``` doesn't work in next.js HOT 1
- [Prettier Plugin] Handle two more plugins HOT 3
- not working in docker HOT 3
- other postcss plugins do not work with tailwindcss HOT 1
- `<alpha-value>` is not recognized on reuse HOT 2
- Vulnerable Dependency - micromatch HOT 3
- v4: tailwind.default is not a function when running with Angular 17 and esbuild
- Classes generation error using symlink HOT 1
- bradlc.vscode-tailwindcss-0.10.5 makes CPU go Brrrrrrrr HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwindcss.