mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix bug 3404 (from Bo Peng)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19114 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8397a051fa
commit
74f45fc0e9
@ -466,6 +466,9 @@ def add_end_layout(document):
|
||||
document.body.insert(i,"")
|
||||
document.body.insert(i,"\\end_layout")
|
||||
i = i + 3
|
||||
# consecutive begin_deeper only insert one end_layout
|
||||
while document.body[i].startswith('\\begin_deeper'):
|
||||
i += 1
|
||||
struct_stack.append(token)
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user