The Lambda Lab
/
projects
/
elpher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b42463a
)
Fixed a text/gemini parsing regression.
author
plugd
<plugd@thelambdalab.xyz>
Sun, 7 Aug 2022 23:27:19 +0000
(09:27 +1000)
committer
plugd
<plugd@thelambdalab.xyz>
Sun, 7 Aug 2022 23:27:19 +0000
(09:27 +1000)
elpher.el
patch
|
blob
|
history
diff --git
a/elpher.el
b/elpher.el
index
1573581
..
2a30f99
100644
(file)
--- a/
elpher.el
+++ b/
elpher.el
@@
-1687,7
+1687,7
@@
can be used to toggle the display of the preformatted text."
(setq-local fill-column (min (window-width) elpher-gemini-max-fill-width))
(dolist (line (split-string data "\n"))
(pcase line
- ((rx (: "```" (opt (let alt-text (+ any)))))
+ ((rx (:
string-start
"```" (opt (let alt-text (+ any)))))
(setq preformatted
(if preformatted
nil