hotfix reeeeeeeeeee

pull/4/head
Blake DeMarcy 2017-04-13 16:29:01 -05:00
parent f40149432a
commit 2478b469a7
1 changed files with 6 additions and 2 deletions

View File

@ -1118,8 +1118,12 @@ class MessageBody(urwid.Text):
result.append((directive, body)) result.append((directive, body))
elif directive == "linequote": elif directive == "linequote":
try:
# this /naughty/ hack is supposed to keep spacing consistent....needs tweaking
if directive != last_directive and result[-1][-1][-1] != "\n": if directive != last_directive and result[-1][-1][-1] != "\n":
result.append(("default", "\n")) result.append(("default", "\n"))
except IndexError:
pass
result.append(("3", "%s\n" % body.strip())) result.append(("3", "%s\n" % body.strip()))
elif directive == "quote": elif directive == "quote":