Commit 4f3134a7 authored by Yusei Tahara's avatar Yusei Tahara

Fixed old method name.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15876 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69ddd7dc
...@@ -1110,7 +1110,7 @@ class Document(XMLObject, UrlMixIn, ConversionCacheMixin, SnapshotMixin): ...@@ -1110,7 +1110,7 @@ class Document(XMLObject, UrlMixIn, ConversionCacheMixin, SnapshotMixin):
the document title. the document title.
""" """
result = {} result = {}
html = self.asHTML() html = self.asEntireHTML()
if not html: return result if not html: return result
title_list = re.findall(self.title_parser, str(html)) title_list = re.findall(self.title_parser, str(html))
if title_list: if title_list:
...@@ -1312,4 +1312,4 @@ class Document(XMLObject, UrlMixIn, ConversionCacheMixin, SnapshotMixin): ...@@ -1312,4 +1312,4 @@ class Document(XMLObject, UrlMixIn, ConversionCacheMixin, SnapshotMixin):
""" """
method = self._getTypeBasedMethod('isUpdatable', method = self._getTypeBasedMethod('isUpdatable',
fallback_script_id = 'Document_isUpdatable') fallback_script_id = 'Document_isUpdatable')
return method() return method()
\ No newline at end of file
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