AV-98-fork

A fork of https://tildegit.org/solderpunk/AV-98
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 5331d5254d0b781e455e74d23d6e5848481201be
parent 6306e4ef587bc0a8934b8ba9408377527416f985
Author: Solderpunk <solderpunk@sdf.org>
Date:   Sun,  7 Jun 2020 19:07:30 +0200

Update recognition of list item lines to match recent spec update.

Diffstat:
Mav98.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/av98.py b/av98.py @@ -823,7 +823,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""") tmpf.write(self._format_geminiitem(len(self.index), gi) + "\n") except: self._debug("Skipping possible link: %s" % line) - elif line.startswith("*"): + elif line.startswith("* "): line = line[1:].lstrip("\t ") tmpf.write(textwrap.fill(line, self.options["width"], initial_indent = "• ", subsequent_indent=" ") + "\n")