     (pre-compile `(make-start-tag ~tag))
     (pre-compile `(make-tag-attrs ~(first content)))
     (list ">")
-    (for [item (remove-attrs content)]
-      (compile-html item))
+    (mapcat compile-html (remove-attrs content))
     (pre-compile `(make-end-tag ~tag))))
 
 (defmethod compile-html IPersistentList

  [tag]
  (list "</" (as-str tag) ">"))

(defn- remove-attrs
  "Remove optional attribute map from content."
  [content]
  (if (map? (first content))

  "Efficiently compile a Clojure data structure to HTML"
  [& content]
  (build-str-concat
    (mapcat compile-html content)))
