Merge pull request #6715 from penpot/alotor-bug-fix-workaround

🐛 Fix problem fetching images
This commit is contained in:
Andrey Antukh 2025-06-18 14:09:29 +02:00 committed by GitHub
commit 40c33c7dcc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,9 @@
(defn- fix-webkit-data-uri
[duri]
(str/replace duri webkit-datauri-fix-re "$1$3"))
(cond-> duri
(string? duri)
(str/replace webkit-datauri-fix-re "$1$3")))
(defn- file-reader
[f]