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:
parent
b9b287d3b2
commit
0c8e0ed3dd
1 changed files with 3 additions and 2 deletions
|
@ -488,8 +488,9 @@
|
|||
filter-values)))
|
||||
|
||||
(defn extract-ids [val]
|
||||
(->> (re-seq xml-id-regex val)
|
||||
(mapv second)))
|
||||
(when (some? val)
|
||||
(->> (re-seq xml-id-regex val)
|
||||
(mapv second))))
|
||||
|
||||
(defn fix-dot-number
|
||||
"Fixes decimal numbers starting in dot but without leading 0"
|
||||
|
|
Loading…
Reference in a new issue