mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
lyx2lyx: fix convert_totalheight method
This didn't account for float values
This commit is contained in:
parent
07150cd928
commit
b66a6dba43
@ -3583,7 +3583,7 @@ def convert_totalheight(document):
|
||||
else:
|
||||
special = ""
|
||||
|
||||
rx = re.compile(r'(\s*height\s*)(\d+)(\S+)$')
|
||||
rx = re.compile(r'(\s*height\s*)(\d+\.?\d*)(\S+)$')
|
||||
kk = find_re(document.body, rx, i, j)
|
||||
if kk != -1:
|
||||
m = rx.match(document.body[kk])
|
||||
|
Loading…
Reference in New Issue
Block a user