From 12eee3395251ae332cc1d8f1cfc285c869325a40 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Thu, 27 Jul 2023 20:11:33 +0300

Subject: [PATCH 1/1] Atom: HTML output has empty elements for empty lines


utils.py | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils.py b/utils.py

index 0ad70c3..e449561 100644

--- a/utils.py

+++ b/utils.py

@@ -223,7 +223,7 @@ def gemtext_to_html(src):

 in_quote = False

 in_pre = False

     rend = None

     is_bullet = False

     is_angle = False

@@ -275,7 +275,7 @@ def gemtext_to_html(src):

         elif line.startswith('```'):

             in_pre = True

             rend = '<pre>'

             rend = f'<p>{atom_escaped(line)}</p>'

     if rend is not None:

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/bubble/main/patch/12eee3395251ae332cc1d8f1cfc285c869325a40.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
33.35033 milliseconds
Gemini-to-HTML Time
1.053501 milliseconds

This content has been proxied by September (3851b).