Fix pdf export , make it python3 compatible, Fix markmin2latex import
This commit is contained in:
@@ -5,7 +5,7 @@ filename = '%s/%s.html' % (request.controller,request.function)
|
||||
if os.path.exists(os.path.join(request.folder,'views',filename)):
|
||||
html=response.render(filename)
|
||||
else:
|
||||
html=BODY(BEAUTIFY(response._vars)).xml()
|
||||
html=BODY(BEAUTIFY(response._vars))
|
||||
pass
|
||||
=pdf_from_html(html)
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user