From 4d1cc5650f6565f21294fbf324638b4e83575991 Mon Sep 17 00:00:00 2001 From: dece Date: Mon, 15 Feb 2021 18:51:07 +0100 Subject: [PATCH] gemtext: support metadata on opening fences --- bebop/gemtext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bebop/gemtext.py b/bebop/gemtext.py index 44e0fac..8745b89 100644 --- a/bebop/gemtext.py +++ b/bebop/gemtext.py @@ -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