Commit eeed4b57 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update view/lists/index.odt to defined basic font in html in order to help odt conversion.

parent 92ae4e31
...@@ -24,7 +24,12 @@ ...@@ -24,7 +24,12 @@
# #
# create the HTML file in /tmp # create the HTML file in /tmp
# #
shtml = '<head></head><body>%s</body>' % response.body.getvalue() shtml = """<head>
<style type="text/css">
h2 {font-family: Liberation Sans, Sans; font-size: medium;}
body {font-family: Liberation Serif, Serif; font-size: small;}
</style>
</head><body>%s</body>""" % response.body.getvalue()
fi = open(fhtml, 'wb') fi = open(fhtml, 'wb')
fi.write(shtml) fi.write(shtml)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment