make CSS monoline

This commit is contained in:
Mathieu PATUREL
2017-01-02 16:13:11 +11:00
parent 182862ecce
commit 5a3b1a7f81
3 changed files with 3 additions and 7 deletions

View File

@ -1,3 +1,4 @@
# CSW: ignore
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
#!/usr/bin/env python #!/usr/bin/env python

View File

@ -91,7 +91,8 @@ def get_style():
pre code { pre code {
padding-left: 0; padding-left: 0;
} }
""" """.splitlines()
content = ''.join([line.strip() for line in content])
return content + "pre code .space {color: var(--light-bg)}" return content + "pre code .space {color: var(--light-bg)}"
def pre_with_br(html): def pre_with_br(html):

File diff suppressed because one or more lines are too long