0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🐛 Fix problem with invalid svg value

This commit is contained in:
alonso.torres 2021-07-09 14:50:57 +02:00
parent b9b287d3b2
commit 0c8e0ed3dd

View file

@ -488,8 +488,9 @@
filter-values))) filter-values)))
(defn extract-ids [val] (defn extract-ids [val]
(when (some? val)
(->> (re-seq xml-id-regex val) (->> (re-seq xml-id-regex val)
(mapv second))) (mapv second))))
(defn fix-dot-number (defn fix-dot-number
"Fixes decimal numbers starting in dot but without leading 0" "Fixes decimal numbers starting in dot but without leading 0"