summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2009-12-06 21:54:18 -0500
committersostler <sbostler@gmail.com>2009-12-06 21:54:18 -0500
commit3e3015be26c5d73a864a693e9694b5dee26e8a31 (patch)
treef725d5221ae49be8f011a987059864aa0a8b1d33 /src
parenta3edac22517613218a1877fcdfe0f1ea10de6869 (diff)
Fixed profile image handling
Diffstat (limited to 'src')
-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)))