mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix table rotate conversion to 2.0 format
The old code did create invalid documents, since the space between the rotate flag dn the previous flag was removed.
This commit is contained in:
parent
932b81c175
commit
b0664e0c98
@ -911,7 +911,7 @@ def revert_cell_rotation(document):
|
||||
document.body[i] = rgx.sub('', document.body[i])
|
||||
elif value == "90":
|
||||
rgx = re.compile(r' rotate="[^"]+?"')
|
||||
document.body[i] = rgx.sub('rotate="true"', document.body[i])
|
||||
document.body[i] = rgx.sub(' rotate="true"', document.body[i])
|
||||
else:
|
||||
rgx = re.compile(r' rotate="[^"]+?"')
|
||||
load_rotating = True
|
||||
|
Loading…
Reference in New Issue
Block a user