diff options
Diffstat (limited to 'src/clojure/contrib/lazy_xml.clj')
-rw-r--r-- | src/clojure/contrib/lazy_xml.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/lazy_xml.clj b/src/clojure/contrib/lazy_xml.clj index f309e5f6..929ce025 100644 --- a/src/clojure/contrib/lazy_xml.clj +++ b/src/clojure/contrib/lazy_xml.clj @@ -143,7 +143,7 @@ (doseq [attr (:attrs e)] (print (str " " (name (key attr)) "='" (escape-xml (val attr)) "'")))) - (if (:content e) + (if (seq (:content e)) (do (print (str ">" pad)) (doseq [c (:content e)] |