Commit d1f0a2fd authored by Jérome Perrin's avatar Jérome Perrin

new_line_to_br returns "None" for None

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25819 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1786171b
...@@ -64,7 +64,7 @@ else:\n ...@@ -64,7 +64,7 @@ else:\n
if editable:\n if editable:\n
return value\n return value\n
else:\n else:\n
return newline_to_br(value)\n return newline_to_br(value or "")\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
346 348
\ 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