aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-02-13 23:07:44 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-02-13 23:07:44 +0100
commit510a2156a055f03bb162f2f3a43eb5bcd6e98918 (patch)
tree0cc74d866fc0584f7759d71ee9de1503e5d54800 /source
parentHTML_HEADER is now a function. This enables to set a title for the generated ... (diff)
downloadnewspipe-510a2156a055f03bb162f2f3a43eb5bcd6e98918.tar.gz
newspipe-510a2156a055f03bb162f2f3a43eb5bcd6e98918.tar.bz2
newspipe-510a2156a055f03bb162f2f3a43eb5bcd6e98918.zip
Bugfix: little hack due to the presence of '%' in the string.
Diffstat (limited to 'source')
-rw-r--r--source/export.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/export.py b/source/export.py
index 92fcee5d..fe13db9a 100644
--- a/source/export.py
+++ b/source/export.py
@@ -47,7 +47,7 @@ def HTML_HEADER(title="pyAggr3g470r"):
<title>%s</title>
<meta charset="utf-8"/>
<style media="screen">
- body{font:normal medium 'Gill Sans','Gill Sans MT',Verdana,sans-serif;margin:1.20em auto;width:80%;line-height:1.75}
+ body{font:normal medium 'Gill Sans','Gill Sans MT',Verdana,sans-serif;margin:1.20em auto;width:80%s;line-height:1.75}
blockquote{font-size:small;line-height:2.153846;margin:2.153846em 0;padding:0;font-style:oblique;border-left:1px dotted;margin-left:2.153846em;padding-left:2.153846em}
blockquote p{margin:2.153846em 0}
p+br{display:none}
@@ -64,8 +64,7 @@ def HTML_HEADER(title="pyAggr3g470r"):
.content{margin:1.00em 1.00em}
</style>
</head>
-<body>
-""" % (title,)
+<body>""" % (title, "%")
HTML_FOOTER = """<hr />
<p>This archive has been generated with
bgstack15