gemtext: support metadata on opening fences

exec
dece 3 years ago
parent a771667a54
commit 4d1cc5650f

@ -57,7 +57,7 @@ def parse_gemtext(data):
elements.append(Link(url, text))
continue
if line == Preformatted.FENCE:
if line.startswith(Preformatted.FENCE):
if preformatted:
elements.append(preformatted)
preformatted = None

Loading…
Cancel
Save