🐛 Fix many issues svg/attrs->props function

This commit is contained in:
Andrey Antukh 2024-01-31 16:41:57 +01:00
parent 1de9171d50
commit 457feedec4
2 changed files with 93 additions and 91 deletions

View file

@ -104,7 +104,7 @@
svg-root? (and (map? content) (= tag :svg))
svg-tag? (map? content)
svg-leaf? (string? content)
valid-tag? (contains? csvg/svg-tags-list tag)]
valid-tag? (contains? csvg/svg-tags tag)]
(cond
^boolean svg-root?