🐛 Fix problem fetching images

This commit is contained in:
alonso.torres 2025-06-18 12:16:02 +02:00 committed by Andrey Antukh
parent 34febfc833
commit 1a6fcb5daf

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]