Merge pull request #4291 from penpot/migration

🐛 Several bugfixes
This commit is contained in:
Alejandro 2024-03-20 14:36:15 +01:00 committed by GitHub
commit 8148151ee5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 24 additions and 20 deletions

View file

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

View file

@ -995,6 +995,9 @@
(= key :style)
attrs
(= key :unicode)
attrs
(str/starts-with? (d/name key) "data-")
attrs