mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 00:49:02 +02:00
commit
8148151ee5
6 changed files with 24 additions and 20 deletions
|
@ -73,7 +73,7 @@
|
|||
[{:keys [version] :as file}]
|
||||
(if (int? version)
|
||||
file
|
||||
(let [version (or version (-> file :data :version))]
|
||||
(let [version (or (-> file :data :version) 0)]
|
||||
(-> file
|
||||
(assoc :version version)
|
||||
(update :data dissoc :version)))))
|
||||
|
|
|
@ -995,6 +995,9 @@
|
|||
(= key :style)
|
||||
attrs
|
||||
|
||||
(= key :unicode)
|
||||
attrs
|
||||
|
||||
(str/starts-with? (d/name key) "data-")
|
||||
attrs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue