Commit 04d7ed29 authored by Fabien Morin's avatar Fabien Morin

text_format is now obsolete, use content_type instead

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39479 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5b84c78a
......@@ -65,7 +65,7 @@ if hasattr(context, \'REQUEST\'):\n
if here is not None:\n
separator = here.getLayoutProperty(\'layout_blog_first_part_separator\', separator)\n
\n
if context.getTextFormat() == "text/html":\n
if context.getContentType() == "text/html":\n
# We must analyse the separator a bit.\n
# XXXX: this whole logic is too light for this problem, but I don\'t want to parse the whole HTML.\n
if "</" in separator:\n
......
49
\ No newline at end of file
50
\ 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