[1mdiff --git a/50_bubble.py b/50_bubble.py[m
[1mindex 95feb0e..16ac164 100644[m
[1m--- a/50_bubble.py[m
[1m+++ b/50_bubble.py[m
[36m@@ -18,7 +18,7 @@[m [mfrom utils import *[m
from worker import *[m
[m
[m
[31m-version = '9.3'[m
[32m+[m[32m__version__ = '9.4'[m
[m
[m
class Bubble:[m
[36m@@ -369,8 +369,9 @@[m [mBubble is open source:[m
src += f'=> {reply_path} {INNER_LINK_PREFIX} {reply_label}\n'[m
[m
if not is_deleted:[m
[31m- src += strip_invalid(post.summary) if not self.is_short_preview \[m
[31m- else shorten_text(strip_invalid(post.summary), SHORT_PREVIEW_LEN) + '\n'[m
[32m+[m[32m summary = post.summary.strip() # remove any spurious whitespace[m
[32m+[m[32m src += strip_invalid(summary) if not self.is_short_preview \[m
[32m+[m[32m else shorten_text(strip_invalid(summary), SHORT_PREVIEW_LEN) + '\n'[m
else:[m
src += "(only visible to author)\n"[m
[m
[1mdiff --git a/model.py b/model.py[m
[1mindex 52dc07a..75a9788 100644[m
[1m--- a/model.py[m
[1m+++ b/model.py[m
[36m@@ -1560,7 +1560,8 @@[m [mclass Database:[m
render = shorten_text(render, self.max_summary)[m
[m
for seg in filter(lambda s: s.type == Segment.IMAGE, segments):[m
[31m- render += f'\n=> {seg.url} {seg.content}\n'[m
[32m+[m[32m if len(render): render += '\n'[m
[32m+[m[32m render += f'=> {seg.url} {seg.content}\n'[m
break[m
[m
if len(render) and not render.endswith('\n'):[m
text/plain
This content has been proxied by September (ba2dc).