Bubble [main]

Clean existing post summaries

=> fba55d0b9e57ce36b019b0ac6265b977ac5cbca9

diff --git a/50_bubble.py b/50_bubble.py
index e0a2250..5238cde 100644
--- a/50_bubble.py
+++ b/50_bubble.py
@@ -369,8 +369,8 @@ Bubble is open source:
                     src += f'=> {reply_path} {INNER_LINK_PREFIX} {reply_label}\n'
 
                 if not is_deleted:
-                    src += post.summary if not self.is_short_preview \
-                        else shorten_text(post.summary, SHORT_PREVIEW_LEN) + '\n'
+                    src += strip_invalid(post.summary) if not self.is_short_preview \
+                        else shorten_text(strip_invalid(post.summary), SHORT_PREVIEW_LEN) + '\n'
                 else:
                     src += "(only visible to author)\n"
 
Proxy Information
Original URL
gemini://git.skyjake.fi/bubble/main/cdiff/fba55d0b9e57ce36b019b0ac6265b977ac5cbca9
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
28.574702 milliseconds
Gemini-to-HTML Time
0.154736 milliseconds

This content has been proxied by September (ba2dc).