diff --git a/product/ERP5/Document/Document.py b/product/ERP5/Document/Document.py index c8a1fd70c9587fa90c1191f17ababf945ee9151e..d049b85bc834966e5074f5a21b9fd202d434ecc6 100644 --- a/product/ERP5/Document/Document.py +++ b/product/ERP5/Document/Document.py @@ -1110,7 +1110,7 @@ class Document(XMLObject, UrlMixIn, ConversionCacheMixin, SnapshotMixin): the document title. """ result = {} - html = self.asHTML() + html = self.asEntireHTML() if not html: return result title_list = re.findall(self.title_parser, str(html)) if title_list: @@ -1312,4 +1312,4 @@ class Document(XMLObject, UrlMixIn, ConversionCacheMixin, SnapshotMixin): """ method = self._getTypeBasedMethod('isUpdatable', fallback_script_id = 'Document_isUpdatable') - return method() \ No newline at end of file + return method()