Do not break documents with complex beamer block ERT usage we cannot handle

Fixes: #9144
This commit is contained in:
Juergen Spitzmueller 2014-08-03 12:21:35 +02:00
parent b555f31a34
commit e9681bbe08

View File

@ -3245,7 +3245,10 @@ def convert_beamerblocks(document):
# Multipar ERT. Skip this.
break
else:
convert_TeX_brace_to_Argument(document, i, 2, 2, False, True, False)
# ERT has contents after the closing bracket. We cannot convert this.
# convert_TeX_brace_to_Argument cannot either.
#convert_TeX_brace_to_Argument(document, i, 2, 2, False, True, False)
break
else:
break
j = find_end_of_layout(document.body, i)