branch: elpa/fj
commit 3b4ec54cfc82819a845eaac5141ef58473b9b242
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>
fix render-user inserting nil.
---
fj.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/fj.el b/fj.el
index 98dc16c4f2..563bfbe292 100644
--- a/fj.el
+++ b/fj.el
@@ -5187,13 +5187,15 @@ PAGE and LIMIT are for pagination."
(insert
"\n"
;; website:
- (unless (string-empty-p .website)
+ (if (string-empty-p .website)
+ .website
(concat (fj-propertize-link .website 'shr nil
'fj-simple-link-face)
"\n"))
;; description:
;; TODO: render links here:
- (unless (string-empty-p .description)
+ (if (string-empty-p .description)
+ .description
(concat (string-clean-whitespace .description) "\n")))
(insert "\n" fedi-horiz-bar fedi-horiz-bar "\n\n"))))