diff options
| author | sostler <sbostler@gmail.com> | 2009-12-06 21:54:18 -0500 |
|---|---|---|
| committer | sostler <sbostler@gmail.com> | 2009-12-06 21:54:18 -0500 |
| commit | 3e3015be26c5d73a864a693e9694b5dee26e8a31 (patch) | |
| tree | f725d5221ae49be8f011a987059864aa0a8b1d33 /src | |
| parent | a3edac22517613218a1877fcdfe0f1ea10de6869 (diff) | |
Fixed profile image handling
Diffstat (limited to 'src')
| -rw-r--r-- | src/site.clj | 2 |
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))) |
