Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 364668b2b7d20c005d02a30d0c8d1b4304f7dc9c 1 parent f453ef7
@amalloy amalloy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/foreclojure/utils.clj
View
2  src/foreclojure/utils.clj
@@ -188,7 +188,7 @@
[data & {:keys [alt src] :or {alt identity, src identity}}]
(fn [key]
(let [[src-prop alt-prop] (get data key)]
- [:img {:src (src (static-url src-prop))
+ [:img {:src (static-url (src src-prop))
:alt (alt alt-prop)}])))
(defn form-row [[type name info value]]
Please sign in to comment.
Something went wrong with that request. Please try again.