From d5ae142a7f9dc382c06dca424973f4345b181c5b Mon Sep 17 00:00:00 2001 From: Blake DeMarcy Date: Sat, 29 Apr 2017 01:21:24 -0500 Subject: [PATCH] fuck this is garbage --- src/formatting.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/formatting.py b/src/formatting.py index 7a24711..f9a2299 100644 --- a/src/formatting.py +++ b/src/formatting.py @@ -138,10 +138,8 @@ def parse_segments(text, sanitize_linequotes=True): pg += "[linequote: %s]" % inner.strip() else: - compiled = apply_directives(line.rstrip()) - split_p = line[0] in punctuation - sep = "\n" if split_p else " " - pg += (sep + compiled) if split_p else (compiled + sep) + sep = "\n" if line[0] in punctuation else " " + pg += apply_directives(line.rstrip()) + sep result.append(pg.rstrip()) return result