made linequote spacing less fucky
parent
18426796b7
commit
e0f83592dc
|
@ -1484,13 +1484,14 @@ class MessageBody(urwid.Text):
|
||||||
result.append((directive, body))
|
result.append((directive, body))
|
||||||
|
|
||||||
elif directive == "linequote":
|
elif directive == "linequote":
|
||||||
try:
|
result.append(("3", "%s" % body.strip()))
|
||||||
|
# TEN MILLION YEARS DUNGEON NO TRIAL
|
||||||
|
# try:
|
||||||
# this /naughty/ hack is supposed to keep spacing consistent....needs tweaking
|
# this /naughty/ hack is supposed to keep spacing consistent....needs tweaking
|
||||||
if directive != last_directive and result[-1][-1][-1] != "\n":
|
# if result[-1][-1][-1] != "\n":
|
||||||
result.append(("default", "\n"))
|
# result.append(("default", "\n"))
|
||||||
except IndexError:
|
# except IndexError:
|
||||||
pass
|
# pass
|
||||||
result.append(("3", "%s\n" % body.strip()))
|
|
||||||
|
|
||||||
elif directive == "quote":
|
elif directive == "quote":
|
||||||
if message["post_id"] == 0:
|
if message["post_id"] == 0:
|
||||||
|
|
Loading…
Reference in New Issue