mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
fix bug #8215
Font.cpp: CJK parts must not have a closing brace because they are within an environment
This commit is contained in:
parent
e7d1e5b0c9
commit
47f7d44747
@ -540,7 +540,8 @@ int Font::latexWriteEndChanges(otexstream & os, BufferParams const & bparams,
|
||||
}
|
||||
|
||||
if (closeLanguage &&
|
||||
language() != base.language() && language() != next.language()) {
|
||||
language() != base.language() && language() != next.language()
|
||||
&& language()->encoding()->package() != Encoding::CJK) {
|
||||
os << '}';
|
||||
++count;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user