[Erp5-report] r36475 ivan - /erp5/trunk/products/ERP5OOo/Document/OOoDocument.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 21 14:42:14 CEST 2010
Author: ivan
Date: Mon Jun 21 14:42:07 2010
New Revision: 36475
URL: http://svn.erp5.org?rev=36475&view=rev
Log:
Portal transforms recognizes 'text/x-html-safe' not text/xhtml-safe'
Modified:
erp5/trunk/products/ERP5OOo/Document/OOoDocument.py
Modified: erp5/trunk/products/ERP5OOo/Document/OOoDocument.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/Document/OOoDocument.py?rev=36475&r1=36474&r2=36475&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/Document/OOoDocument.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/Document/OOoDocument.py [utf8] Mon Jun 21 14:42:07 2010
@@ -455,7 +455,7 @@ class OOoDocument(PermanentURLMixIn, Bas
# call portal_transforms to strip HTML in safe mode
portal = self.getPortalObject()
transform_tool = getToolByName(portal, 'portal_transforms')
- data = transform_tool.convertToData('text/xhtml-safe',
+ data = transform_tool.convertToData('text/x-html-safe',
zip_file.read(file_name),
object=self, context=self,
mimetype=mime)
More information about the Erp5-report
mailing list