branch: elpa/elpher
commit 0d68c92d0ad990230c9c018c1f6d43ef63d052c3
Author: plugd <[email protected]>
Commit: plugd <[email protected]>
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 3abb771069..694d8af99d 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)))