Commit d9a03615 authored by Fabien Morin's avatar Fabien Morin

there were many spaces inside <text:p> markup that makes ugly rendering. Now it's fixed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28883 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 044d748a
......@@ -113,15 +113,14 @@ dQEAAAAA</string> </value>
tal:content="value">\n
</text:p>\n
<tal:block tal:condition="python: value != \'\'">\n
\n
<text:p tal:condition="item_list">\n
<tal:block tal:condition="item_list">\n
<tal:block tal:define="displayed_value_list python: [str(i[0]).replace(\'&amp;\', \'\') for i in item_list if i[1] == value]">\n
<tal:block tal:condition="displayed_value_list"\n
tal:replace="python: displayed_value_list[0]" />\n
<tal:block tal:condition="not: displayed_value_list"\n
tal:replace="python: value" />\n
<text:p tal:condition="displayed_value_list"\n
tal:content="python: displayed_value_list[0]" />\n
<text:p tal:condition="not: displayed_value_list"\n
tal:content="python: value" />\n
</tal:block>\n
</text:p>\n
</tal:block>\n
</tal:block>\n
<tal:block tal:condition="python: value is None">\n
<text:p table:style="Default" tal:content="python: \' \'" />\n
......
211
\ No newline at end of file
212
\ 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