Pārlūkot izejas kodu

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

develop
Ben Kurtovic pirms 9 gadiem
vecāks
revīzija
b7fb8488bc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      release.py

+ 1
- 1
release.py Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt