Commit 608171ce authored by Gabriel Monnerat's avatar Gabriel Monnerat

refactor to force use html instead of xhtml when is a Drawing object

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@41347 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 30f7673c
...@@ -243,7 +243,7 @@ class Manager(object): ...@@ -243,7 +243,7 @@ class Manager(object):
try: try:
response_dict = {} response_dict = {}
# XXX - use html format instead of xhtml # XXX - use html format instead of xhtml
if orig_format == "presentation" and extension == "xhtml": if orig_format in ("presentation", "graphics") and extension == "xhtml":
extension = 'html' extension = 'html'
elif orig_format in ("spreadsheet", 'text') and extension in ("html", elif orig_format in ("spreadsheet", 'text') and extension in ("html",
"xhtml"): "xhtml"):
......
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