summaryrefslogtreecommitdiff
path: root/src/site.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/site.clj')
-rw-r--r--src/site.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/site.clj b/src/site.clj
index 66a17d9..cc7dfd3 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -205,7 +205,7 @@
(doseq [a [:nick :avatar :contact :bio]]
(let [v (user-info a)]
(.setAttribute st (name a)
- (if v (encode-html-entities v) nil))))
+ (if (non-empty-string? v) (encode-html-entities v) nil))))
(.setAttribute st "dumps"
(to-array (map process-message-for-output dumps)))
(.toString st)))