Commit fdd65b88 authored by Andreas Jung's avatar Andreas Jung

- Collector #1126: ZPublisher.Converters.field2lines now using

       splitlines() instead of split('\n').
parent 9972be18
...@@ -116,6 +116,9 @@ Zope Changes ...@@ -116,6 +116,9 @@ Zope Changes
Bugs fixed Bugs fixed
- Collector #1126: ZPublisher.Converters.field2lines now using
splitlines() instead of split('\n').
- Collector #1322: fixed HTML quoting problem with ZSQL methods - Collector #1322: fixed HTML quoting problem with ZSQL methods
in DA.py in DA.py
......
...@@ -98,7 +98,7 @@ def field2lines(v): ...@@ -98,7 +98,7 @@ def field2lines(v):
for item in v: for item in v:
result.append(str(item)) result.append(str(item))
return result return result
return field2text(v).split('\n') return field2text(v).splitlines()
def field2date(v): def field2date(v):
v = field2string(v) v = field2string(v)
......
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