Commit 1ce710df authored by Julien Muchembled's avatar Julien Muchembled

Backslashes must be escaped only with FCK editor.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22507 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05a9948f
...@@ -301,18 +301,15 @@ ...@@ -301,18 +301,15 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:here.getTextContent().replace(\'\\\\\', \'\\\\\\\\\')</string> </value> <value> <string>python: (lambda x: field.get_value(\'text_editor\') == \'fck_editor\' and x.replace(\'\\\\\', \'\\\\\\\\\') or x)(here.getTextContent())</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -320,18 +317,15 @@ ...@@ -320,18 +317,15 @@
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:(here.getTextFormat() == \'text/html\' and here.portal_preferences.getPreferredTextEditor()) or \'text_area\'</string> </value> <value> <string>python: here.getTextFormat() == \'text/html\' and here.portal_preferences.getPreferredTextEditor() or \'text_area\'</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
686 687
\ 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