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