diff --git a/50_bubble.py b/50_bubble.py

index 95feb0e..16ac164 100644

--- a/50_bubble.py

+++ b/50_bubble.py

@@ -18,7 +18,7 @@ from utils import *

from worker import *





-version = '9.3'

+__version__ = '9.4'





class Bubble:

@@ -369,8 +369,9 @@ Bubble is open source:

                 src += f'=> {reply_path} {INNER_LINK_PREFIX} {reply_label}\n'



             if not is_deleted:

- src += strip_invalid(post.summary) if not self.is_short_preview \

- else shorten_text(strip_invalid(post.summary), SHORT_PREVIEW_LEN) + '\n'

+ summary = post.summary.strip() # remove any spurious whitespace

+ src += strip_invalid(summary) if not self.is_short_preview \

+ else shorten_text(strip_invalid(summary), SHORT_PREVIEW_LEN) + '\n'

             else:

                 src += "(only visible to author)\n"



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

index 52dc07a..75a9788 100644

--- a/model.py

+++ b/model.py

@@ -1560,7 +1560,8 @@ class Database:

     render = shorten_text(render, self.max_summary)



     for seg in filter(lambda s: s.type == Segment.IMAGE, segments):

- render += f'\n=> {seg.url} {seg.content}\n'

+ if len(render): render += '\n'

+ render += f'=> {seg.url} {seg.content}\n'

         break



     if len(render) and not render.endswith('\n'):

Proxy Information
Original URL
gemini://git.skyjake.fi/bubble/main/pcdiff/f9bc4704a28383e013d8dd66cf68d5a64790cc3d
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
29.277652 milliseconds
Gemini-to-HTML Time
1.2035 milliseconds

This content has been proxied by September (ba2dc).