From 04d7ed29f092152067d231e283063328f1a74969 Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Fri, 22 Oct 2010 12:51:40 +0000 Subject: [PATCH] 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 --- .../portal_skins/erp5_web_blog/WebSection_getFirstParagraph.xml | 2 +- bt5/erp5_web_blog/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 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 8ec4c2c7b7..ef016d0e71 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 @@ -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 diff --git a/bt5/erp5_web_blog/bt/revision b/bt5/erp5_web_blog/bt/revision index 2e66562e27..c5b431b6cb 100644 --- a/bt5/erp5_web_blog/bt/revision +++ b/bt5/erp5_web_blog/bt/revision @@ -1 +1 @@ -49 \ No newline at end of file +50 \ No newline at end of file -- 2.30.9