Commit ce78b488 authored by Fabien Morin's avatar Fabien Morin

use text_content was a mistake, revert and use the appropriate getter

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39473 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a1232607
......@@ -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.text_content == "text/html":\n
if context.getTextFormat() == "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
......
45
\ No newline at end of file
46
\ 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