Update ods2md.py

Co-authored-by: kennytm <kennytm@gmail.com>
This commit is contained in:
Tyler Moore 2020-12-01 20:21:41 -05:00 committed by GitHub
parent c78eea2b00
commit 23596799a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ DISPLAY_WIDTH = {
'W': 2, 'W': 2,
} }
LINEFEED_REGEX=re.compile('(\r\n|\r|\n)', flags=re.MULTILINE) LINEFEED_REGEX=re.compile('\r\n|[\r\n]')
def display_text(cell): def display_text(cell):
v = cell.value v = cell.value