From a2e0b29730161d9273b839993c993db43cf41464 Mon Sep 17 00:00:00 2001 From: Tyler Moore Date: Tue, 1 Dec 2020 20:24:48 -0500 Subject: [PATCH] Update ods2md.py Co-authored-by: kennytm --- ods2md.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ods2md.py b/ods2md.py index f22a626..46ef205 100755 --- a/ods2md.py +++ b/ods2md.py @@ -36,7 +36,7 @@ LINEFEED_REGEX=re.compile('\r\n|[\r\n]') def display_text(cell): v = cell.value if isinstance(v, float): - return LINEFEED_REGEX.sub('
', '{:g}'.format(v)) + return '{:g}'.format(v) elif v is None: return '' else: