]> git.lyx.org Git - lyx.git/commit
Correctly protect macros with optionals inserted in an optional argument
authorEnrico Forestieri <forenr@lyx.org>
Fri, 26 Apr 2019 13:30:08 +0000 (15:30 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 26 Apr 2019 13:30:08 +0000 (15:30 +0200)
commit2731c5dc5511fce18cadaec76663d8dfdaa65d10
treef6babd37b976f323f5e8bbc0a36c2bccab464c54
parente763f902443b863c49ab32e41ecb74672ab312bf
Correctly protect macros with optionals inserted in an optional argument

The trick turns out to be inserting in braces the whole optional
argument, rather than the single macro.

See #11552 for the long history.
src/mathed/InsetMathMacro.cpp