diff options
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/html.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/html.fnl b/vendor/html.fnl index 689f416..1be5d5d 100644 --- a/vendor/html.fnl +++ b/vendor/html.fnl @@ -14,7 +14,7 @@ (assert (= (type attrs) "table") (.. "Missing attrs table: " tag-name)) (let [attr-str (table.concat (icollect [k v (pairs attrs)] (if (= v true) k - (.. k "=\"" v"\""))) " ")] + (.. k "=\"" (escape v)"\""))) " ")] (.. "<" tag-name " " attr-str">"))) (fn render [document allow-no-escape?] |
