Fix non-brace delimeters in nested macro formatting (#2831)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-08-13 22:47:43 -07:00
1 parent d649b0c54d
commit 851abe82d5
6 files changed
+255 -6

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
rsx! {
div { "hi" }
img {
// note: the line breaking here is weird but it's because of prettyplease, not dioxus-autofmt
// we might want to fix this in the future
src: asset!(
"/assets/logo.png".image().size(512, 512).format(ImageType::Jpg).url_encoded()
.image().size(512, 512).format(ImageType::Jpg).url_encoded()
),
alt: "logo",
}
}