Commit cb61f47b authored by Bartek Górny's avatar Bartek Górny

adjust to new filter naming convention

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14529 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 35040a64
......@@ -298,7 +298,7 @@ class OOoDocument(File, ConversionCacheMixin):
format_list = [x for x in self.getTargetFormatList() if x.endswith(format)]
format = format_list[0]
elif format == 'html':
format_list = [x for x in self.getTargetFormatList() if x.startswith('html')]
format_list = [x for x in self.getTargetFormatList() if x.startswith('html') or x.endswith('html')]
format = format_list[0]
is_html = 1
elif format in ('txt', 'text', 'text-content'):
......
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