fix: viewBox translation by not accidentally stringifying literals (#3527)

* fix: don't double stringify lits

* also split off namespaces in translation
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-01-08 16:12:48 -08:00
1 parent a3812d66da
commit 343c48f5ad
4 files changed
+109 -3

No files matched your search

+1 -1
View File
@@ -188,7 +188,7 @@ macro_rules! impl_attribute_match {
$attr:ident $fil:ident: $vil:ident (in $ns:literal),
) => {
if $attr == stringify!($fil) {
return Some((stringify!(fil), Some($ns)));
return Some((stringify!($fil), Some($ns)));
}
};
}