Bubble [main]
Bumped version number to 6.4; ignore blank text segments when rendering
[1mdiff --git a/50_bubble.py b/50_bubble.py[m
[1mindex 4e00705..f556865 100644[m
[1m--- a/50_bubble.py[m
[1m+++ b/50_bubble.py[m
[36m@@ -17,7 +17,7 @@[m [mfrom utils import *[m
from worker import *[m
[m
[m
[31m-__version__ = '6.3'[m
[32m+[m[32m__version__ = '6.4'[m
[m
[m
class Bubble:[m
[36m@@ -341,6 +341,11 @@[m [mBubble is open source:[m
[m
last_type = None[m
for segment in self.db.get_segments(post, poll=False):[m
[32m+[m[32m if segment.type == Segment.TEXT and segment.content.strip() == '':[m
[32m+[m[32m # Ignore any blank segments. The composer should not let these be[m
[32m+[m[32m # created in the first place...[m
[32m+[m[32m continue[m
[32m+[m
# Optionally, separate by newline.[m
if last_type != None:[m
if last_type != segment.type or (last_type == Segment.TEXT and[m