diff --git a/product/ERP5Type/DocumentationHelper/PortalTypePropertySheetDocumentationHelper.py b/product/ERP5Type/DocumentationHelper/PortalTypePropertySheetDocumentationHelper.py
index 99a4b420ece97022d170eac8038bb47a99aecb96..6f3afa8ef28ac50434d82b00b84dcd507cd8c1da 100644
--- a/product/ERP5Type/DocumentationHelper/PortalTypePropertySheetDocumentationHelper.py
+++ b/product/ERP5Type/DocumentationHelper/PortalTypePropertySheetDocumentationHelper.py
@@ -80,11 +80,7 @@ class PortalTypePropertySheetDocumentationHelper(DocumentationHelper):
         REQUEST = getattr(self, 'REQUEST', None)
         if REQUEST is not None:
           if REQUEST.get('portal_skin', 'View' ) != 'View':
-            doc_string = source_code.split('"""')
-            if len(doc_string)>1:
-              return doc_string[1]
-            else:
-              return ""
+            return source_code
       else:
         LOG('DCWorkflowScriptDocumentationHelper', INFO,
             'Transformation Tool is not installed. No convertion of python script to html')