Commit 31e5e2ce authored by Jérome Perrin's avatar Jérome Perrin

Use correct entities when doing manual escaping

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20062 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 25a1b136
......@@ -104,6 +104,12 @@ bWxQSwUGAAAAAAIAAgCeAAAAhwwAAAAA</string> </value>
</object>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
......@@ -290,7 +296,7 @@ bWxQSwUGAAAAAAIAAgCeAAAAhwwAAAAA</string> </value>
<text:p text:style-name=\'field-label-center\' i18n:domain="ui" i18n:translate=""\n
tal:content="python: field.get_value(\'title\')"/>\n
<text:p text:style-name=\'field-content-center\'\n
tal:content="structure python: field.get_value(\'default\').replace(\'&amp;\', \'&amp;amp;;\').replace(\'&gt;\', \'&gt;gt;;\').replace(\'&lt;\', \'&lt;lt;;\').replace(\'\\n\', \'&lt;text:line-break/&gt;\')"/>\n
tal:content="structure python: field.get_value(\'default\').replace(\'&amp;\', \'&amp;amp;\').replace(\'&gt;\', \'&amp;gt;\').replace(\'&lt;\', \'&amp;lt;\').replace(\'\\n\', \'&lt;text:line-break/&gt;\')"/>\n
</tal:block>\n
<tal:block tal:condition="python: field_type == \'ImageField\'">\n
<text:p text:style-name=\'field-label-center\' i18n:domain="ui" i18n:translate=""\n
......
31
\ No newline at end of file
34
\ 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