From 2589305e8e227638184e41c9f9497a942cbad418 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Fri, 22 Oct 2010 11:48:58 +0000
Subject: [PATCH] use text_content instead of text_format

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39469 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_web_blog/WebSection_getFirstParagraph.xml         | 7 ++-----
 bt5/erp5_web_blog/bt/revision                              | 2 +-
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getFirstParagraph.xml b/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getFirstParagraph.xml
index 4c682c0c6c..3accb812bf 100644
--- a/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getFirstParagraph.xml
+++ b/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getFirstParagraph.xml
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
+      <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -68,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_format == "text/html":\n
+if context.text_content == "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
diff --git a/bt5/erp5_web_blog/bt/revision b/bt5/erp5_web_blog/bt/revision
index f70d7bba4a..ac4213d6e9 100644
--- a/bt5/erp5_web_blog/bt/revision
+++ b/bt5/erp5_web_blog/bt/revision
@@ -1 +1 @@
-42
\ No newline at end of file
+43
\ No newline at end of file
-- 
2.30.9