Update recognition of list item lines to match recent spec update.
This commit is contained in:
parent
6306e4ef58
commit
5331d5254d
2
av98.py
2
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")
|
tmpf.write(self._format_geminiitem(len(self.index), gi) + "\n")
|
||||||
except:
|
except:
|
||||||
self._debug("Skipping possible link: %s" % line)
|
self._debug("Skipping possible link: %s" % line)
|
||||||
elif line.startswith("*"):
|
elif line.startswith("* "):
|
||||||
line = line[1:].lstrip("\t ")
|
line = line[1:].lstrip("\t ")
|
||||||
tmpf.write(textwrap.fill(line, self.options["width"],
|
tmpf.write(textwrap.fill(line, self.options["width"],
|
||||||
initial_indent = "• ", subsequent_indent=" ") + "\n")
|
initial_indent = "• ", subsequent_indent=" ") + "\n")
|
||||||
|
|
Loading…
Reference in New Issue