Skip to content

Commit 3400d32

Browse files
committed
fix(css): content fmt
1 parent 6a8172c commit 3400d32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

float-pigment-css/src/typing_stringify.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,8 +2210,8 @@ impl fmt::Display for Content {
22102210
match self {
22112211
Content::None => write!(f, "none"),
22122212
Content::Normal => write!(f, "normal"),
2213-
Content::Str(x) => write!(f, "{}", x.to_string()),
2214-
Content::Url(x) => write!(f, "{}", x.to_string()),
2213+
Content::Str(x) => write!(f, "'{}'", x.to_string()),
2214+
Content::Url(x) => write!(f, "'{}'", x.to_string()),
22152215
}
22162216
}
22172217
}

0 commit comments

Comments
 (0)