🐛 Remove xlinkHref to resolve Safari problem

This commit is contained in:
alonso.torres 2022-05-17 13:58:12 +02:00
parent 5a07599fc7
commit edce45095e
9 changed files with 15 additions and 15 deletions

View file

@ -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 )))