Bubble [main]

Bumped version number to 6.4; ignore blank text segments when rendering

8ef42c69ef9f7b547b4a77a808766caa3553a162
diff --git a/50_bubble.py b/50_bubble.py
index 4e00705..f556865 100644
--- a/50_bubble.py
+++ b/50_bubble.py
@@ -17,7 +17,7 @@ from utils import *
 from worker import *
 
 
-__version__ = '6.3'
+__version__ = '6.4'
 
 
 class Bubble:
@@ -341,6 +341,11 @@ Bubble is open source:
 
             last_type = None
             for segment in self.db.get_segments(post, poll=False):
+                if segment.type == Segment.TEXT and segment.content.strip() == '':
+                    # Ignore any blank segments. The composer should not let these be
+                    # created in the first place...
+                    continue
+
                 # Optionally, separate by newline.
                 if last_type != None:
                     if last_type != segment.type or (last_type == Segment.TEXT and