This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/hiccup/core.clj b/src/hiccup/core.clj | |
index e803a16..b592620 100644 | |
--- a/src/hiccup/core.clj | |
+++ b/src/hiccup/core.clj | |
@@ -101,11 +101,17 @@ | |
"Render a HTML tag represented as a vector." | |
[element] | |
(let [[tag attrs content] (parse-element element)] | |
- (if (or content (container-tags tag)) | |
- (str "<" tag (render-attrs attrs) ">" |