Commit 2589305e authored by Fabien Morin's avatar Fabien Morin

use text_content instead of text_format

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39469 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 89557936
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -68,7 +65,7 @@ if hasattr(context, \'REQUEST\'):\n ...@@ -68,7 +65,7 @@ if hasattr(context, \'REQUEST\'):\n
if here is not None:\n if here is not None:\n
separator = here.getLayoutProperty(\'layout_blog_first_part_separator\', separator)\n separator = here.getLayoutProperty(\'layout_blog_first_part_separator\', separator)\n
\n \n
if context.text_format == "text/html":\n if context.text_content == "text/html":\n
# We must analyse the separator a bit.\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 # 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 if "</" in separator:\n
......
42 43
\ No newline at end of file \ 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