fuck this is garbage

pull/4/head
Blake DeMarcy 2017-04-29 01:21:24 -05:00
parent 61e4f499c7
commit d5ae142a7f
1 changed files with 2 additions and 4 deletions

View File

@ -138,10 +138,8 @@ def parse_segments(text, sanitize_linequotes=True):
pg += "[linequote: %s]" % inner.strip() pg += "[linequote: %s]" % inner.strip()
else: else:
compiled = apply_directives(line.rstrip()) sep = "\n" if line[0] in punctuation else " "
split_p = line[0] in punctuation pg += apply_directives(line.rstrip()) + sep
sep = "\n" if split_p else " "
pg += (sep + compiled) if split_p else (compiled + sep)
result.append(pg.rstrip()) result.append(pg.rstrip())
return result return result