Skip to content
This repository
Browse code

Wrong static url in use when img-builder has a src transform

  • Loading branch information...
commit 364668b2b7d20c005d02a30d0c8d1b4304f7dc9c 1 parent f453ef7
Alan Malloy amalloy authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/foreclojure/utils.clj
2  src/foreclojure/utils.clj
@@ -188,7 +188,7 @@
188 188 [data & {:keys [alt src] :or {alt identity, src identity}}]
189 189 (fn [key]
190 190 (let [[src-prop alt-prop] (get data key)]
191   - [:img {:src (src (static-url src-prop))
  191 + [:img {:src (static-url (src src-prop))
192 192 :alt (alt alt-prop)}])))
193 193
194 194 (defn form-row [[type name info value]]

0 comments on commit 364668b

Please sign in to comment.
Something went wrong with that request. Please try again.