Strip return characters when removing line breaks

This commit is contained in:
Jeremy Stretch 2019-01-18 09:24:32 -05:00
parent 0d717cdc82
commit 14695037da

View File

@ -22,6 +22,7 @@ def oneline(value):
"""
Replace each line break with a single space
"""
value = value.replace('\r', '')
return value.replace('\n', ' ')