Update ods2md.py
Co-authored-by: kennytm <kennytm@gmail.com>
This commit is contained in:
parent
23596799a3
commit
a2e0b29730
1 changed files with 1 additions and 1 deletions
|
@ -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('<br>', '{:g}'.format(v))
|
||||
return '{:g}'.format(v)
|
||||
elif v is None:
|
||||
return ''
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue