Przeglądaj źródła

Preserve newlines in CSS; don't add a ton of spaces.

develop
Ben Kurtovic 8 lat temu
rodzic
commit
b7fb8488bc
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      release.py

+ 1
- 1
release.py Wyświetl plik

@@ -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 +


Ładowanie…
Anuluj
Zapisz