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 2af228e commit 1a9c242Copy full SHA for 1a9c242
crates/oxide/src/extractor/pre_processors/slim.rs
@@ -225,11 +225,16 @@ mod tests {
225
// Also included an arbitrary value including `(` and `)` to make sure that we don't
226
// accidentally remove those either.
227
let input = r#"
228
- body.p-8(class="bg-(--my-color) bg-[url(https://example.com)]")
+ body.p-8(class="bg-(--my-color) bg-(--my-color)/(--my-opacity) bg-[url(https://example.com)]")
229
"#;
230
Slim::test_extract_contains(
231
input,
232
- vec!["p-8", "bg-(--my-color)", "bg-[url(https://example.com)]"],
+ vec![
233
+ "p-8",
234
+ "bg-(--my-color)",
235
+ "bg-(--my-color)/(--my-opacity)",
236
+ "bg-[url(https://example.com)]",
237
+ ],
238
);
239
}
240
0 commit comments