From 0d68c92d0ad990230c9c018c1f6d43ef63d052c3 Mon Sep 17 00:00:00 2001 From: plugd Date: Mon, 11 Apr 2022 10:12:40 +0200 Subject: [PATCH] Prevents indenting gemini lines prefixed only with spaces. Addresses this comment from the elpher feedback page: Admittedly, this is a small complaint, but elpher has problems with indentations in paragraphs in gemini (haven't tested with gopher). It is supposed to stop indenting after the first line break, but doesn't do so, instead keeping the indentation for the whole paragraph. I uploaded a picture showing on the top the expected result and on the bottom what elpher shows. https://ttm.sh/if_.png --- elpher.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elpher.el b/elpher.el index 3abb771..694d8af 100644 --- a/elpher.el +++ b/elpher.el @@ -1584,7 +1584,7 @@ width defined by `elpher-gemini-max-fill-width'." text-line)) (fill-prefix (if line-prefix (make-string (length (match-string 0 text-line)) ?\s) - nil))) + ""))) (insert (elpher-process-text-for-display processed-text-line)) (newline))) -- 2.20.1