Explorar el Código

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

develop
Ben Kurtovic hace 8 años
padre
commit
b7fb8488bc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      release.py

+ 1
- 1
release.py Ver fichero

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


Cargando…
Cancelar
Guardar