diff options
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index b48c8fe..b00622b 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -211,7 +211,8 @@ also render the html" (insert (concat (mastodon-tl--spoiler toot) - (replace-regexp-in-string "^\n+$" "" (mastodon-tl--content toot)) + ;; remove two trailing newlines + (substring (mastodon-tl--content toot) 0 -2) (mastodon-tl--media toot) "\n\n" (mastodon-tl--byline toot) |