diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/site.clj | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/site.clj b/src/site.clj index 1c43ae3..3e9a873 100644 --- a/src/site.clj +++ b/src/site.clj @@ -203,7 +203,9 @@ (do (.setAttribute st "is_home" is-home) (doseq [a [:nick :avatar :contact :bio]] - (.setAttribute st (name a) (encode-html-entities (or (user-info a) nil)))) + (let [v (user-info a)] + (.setAttribute st (name a) + (if v (encode-html-entities v) "")))) (.setAttribute st "dumps" (to-array (map process-message-for-output dumps))) (.toString st))) |
