We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec2f3bb commit 0ba3ff2Copy full SHA for 0ba3ff2
crates/oxide/src/extractor/pre_processors/razor.rs
@@ -24,4 +24,19 @@ mod tests {
24
Razor::test(input, expected);
25
Razor::test_extract_contains(input, vec!["@sm:text-red-500"]);
26
}
27
+
28
+ // https://github.com/tailwindlabs/tailwindcss/issues/17424
29
+ #[test]
30
+ fn test_razor_syntax_with() {
31
+ let (input, expected) = (
32
+ r#"<p class="@("@")md:bg-red-500 @@md:border-green-500 border-8">With 2 elements</p>"#,
33
+ r#"<p class=" @md:bg-red-500 @md:border-green-500 border-8">With 2 elements</p>"#,
34
+ );
35
36
+ Razor::test(input, expected);
37
+ Razor::test_extract_contains(
38
+ input,
39
+ vec!["@md:bg-red-500", "@md:border-green-500", "border-8"],
40
41
+ }
42
0 commit comments