Commit c48bf1a6 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

we no longer need this part for any types of document, and it should be a part...

we no longer need this part for any types of document, and it should be a part of the template itself if such element is needed.
parent a99cab33
......@@ -421,11 +421,6 @@ class OOoTemplate(ZopePageTemplate):
doc_type=picture_type,
)
if not (self.content_type.endswith('draw') or
self.content_type.endswith('presentation') or
self.content_type.endswith('writer') or
self.content_type.endswith('text')):
replacement = '<text:p text:style-name="Standard">'+replacement+'</text:p>'
return replacement
xml_doc = etree.XML(text)
......
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