aboutsummaryrefslogtreecommitdiff
path: root/haunt/jakob/utils
diff options
context:
space:
mode:
Diffstat (limited to 'haunt/jakob/utils')
-rw-r--r--haunt/jakob/utils/comments.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/haunt/jakob/utils/comments.scm b/haunt/jakob/utils/comments.scm
index 0d65e8d..4ec3718 100644
--- a/haunt/jakob/utils/comments.scm
+++ b/haunt/jakob/utils/comments.scm
@@ -23,6 +23,7 @@
#:use-module (ice-9 receive)
#:use-module (jakob dynamic capabilities common)
#:use-module (jakob dynamic util)
+ #:use-module (jakob utils)
#:use-module (json)
#:use-module (oop goops)
#:use-module (srfi srfi-9)
@@ -92,10 +93,12 @@
(safe-markdown->sxml
(internal-comment-comment comment))))
(define (comment-url comment)
- ((if (webmention? comment)
- webmention-url
- internal-comment-url)
- comment))
+ (define text
+ ((if (webmention? comment)
+ webmention-url
+ internal-comment-url)
+ comment))
+ (elide-string text 32))
(define (comment-publish-time comment)
((if (webmention? comment)
webmention-publish-time

© 2015 - 2026 Jakob L. Kreuze