Commit 58de4b78 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Use of _asHTML API instead of asHTML

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13773 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d5ee8cca
......@@ -158,7 +158,7 @@ class TextDocument(Document, TextContent):
Returns the content base URL based on the actual content
(in HTML)
"""
html = self.asHTML()
html = self._asHTML()
base_list = re.findall(self.base_parser, str(html))
if base_list:
return base_list[0]
......
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