1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-02-28 09:37:38 +01:00

- [gemini] parse link even if link name is empty

sometimes you can met a link like:

=>URI<space><linebreak>

even if this  is, in my opinion,  a malformed link (there  should be a
text -the link name- after the space) parse anyway as if the link name
exists and is empty.
This commit is contained in:
cage 2020-07-15 15:18:08 +02:00
parent f8230fbb89
commit 6b0fab863d

View File

@ -71,7 +71,7 @@
(defrule link (and link-prefix (defrule link (and link-prefix
link-url link-url
(? (and space (? (and space
link-name)) (? link-name)))
cr-lf) cr-lf)
(:function (lambda (a) (:function (lambda (a)
(list (first a) (list (first a)