From b7fb8488bc033aa2b68da48efa47e891fff3a3bf Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 20 Sep 2015 01:16:01 -0500 Subject: [PATCH] Preserve newlines in CSS; don't add a ton of spaces. --- release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.py b/release.py index 09b6b8a..9fd696c 100755 --- a/release.py +++ b/release.py @@ -99,7 +99,7 @@ def _do_include(text, include): source = source[1:] # Remove extra newline if include.endswith(".css"): - lines = ['"' + line.ljust(75) + '" +' + lines = [('"' + line + '\\n"').ljust(78) + '+' for line in source.strip().splitlines()] if lines and lines[-1]: lines[-1] = lines[-1][:-2] # Strip off last +