diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-02-13 23:07:44 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-02-13 23:07:44 +0100 |
commit | 510a2156a055f03bb162f2f3a43eb5bcd6e98918 (patch) | |
tree | 0cc74d866fc0584f7759d71ee9de1503e5d54800 | |
parent | HTML_HEADER is now a function. This enables to set a title for the generated ... (diff) | |
download | newspipe-510a2156a055f03bb162f2f3a43eb5bcd6e98918.tar.gz newspipe-510a2156a055f03bb162f2f3a43eb5bcd6e98918.tar.bz2 newspipe-510a2156a055f03bb162f2f3a43eb5bcd6e98918.zip |
Bugfix: little hack due to the presence of '%' in the string.
-rw-r--r-- | source/export.py | 5 |
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 |