1
0
Fork 0

- [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
1 changed files with 1 additions and 1 deletions

View File

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