Fixed error: text following another block doesn't render
This commit is contained in:
parent
202da99fa7
commit
8fd8d920e6
@ -575,7 +575,7 @@ class message(Gtk.Overlay):
|
|||||||
parts.append({"type": "table", "text": table_text})
|
parts.append({"type": "table", "text": table_text})
|
||||||
pos = end
|
pos = end
|
||||||
# Text blocks
|
# Text blocks
|
||||||
if pos < len(self.text[pos:]):
|
if pos < len(self.text):
|
||||||
normal_text = self.text[pos:]
|
normal_text = self.text[pos:]
|
||||||
if normal_text.strip():
|
if normal_text.strip():
|
||||||
parts.append({"type": "normal", "text": normal_text.strip()})
|
parts.append({"type": "normal", "text": normal_text.strip()})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user