瀏覽代碼

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

develop
Ben Kurtovic 9 年之前
父節點
當前提交
b7fb8488bc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      release.py

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


Loading…
取消
儲存