mirror of
https://github.com/penpot/penpot.git
synced 2025-07-29 12:37:14 +02:00
🐛 Remove xlinkHref to resolve Safari problem
This commit is contained in:
parent
5a07599fc7
commit
edce45095e
9 changed files with 15 additions and 15 deletions
|
@ -961,5 +961,5 @@
|
|||
(let [redfn (fn [acc {:keys [tag attrs]}]
|
||||
(cond-> acc
|
||||
(= :image tag)
|
||||
(conj (:xlink:href attrs))))]
|
||||
(conj (or (:href attrs) (:xlink:href attrs)))))]
|
||||
(reduce-nodes redfn [] svg-data )))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue