diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebPage_viewEditor/my_text_content.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebPage_viewEditor/my_text_content.xml index 014ab4a89d449e690c35fa2c460e200a6024b23e..56b5671183c9e9669ef62434e8beeecb76b0c27b 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebPage_viewEditor/my_text_content.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebPage_viewEditor/my_text_content.xml @@ -136,7 +136,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: (lambda x: field.get_value(\'text_editor\') == \'fck_editor\' and x.replace(\'\\\\\', \'\\\\\\\\\') or x)(here.getTextContent())</string> </value> + <value> <string>python: (lambda x: field.get_value(\'text_editor\') == \'fck_editor\' and x.replace(\'\\\\\', \'\\\\\\\\\') or x)(here.getTextContent() or \'\')</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index 5be040fc33117d9056d5b46f38d9cea31753a3bd..12658c029b2b59c6ca9099a903df414d66fcd859 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -808 \ No newline at end of file +809 \ No newline at end of file