]> git.lyx.org Git - features.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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:27 +0000 (15:48 +0200)
commit510815fc5c1cd1c38fd5fa9e9ccc76912790ff75
tree782785423f4ae94890931bccd77997b14ea557b4
parent92019d6a66f62f0f3a2cb2dc3bee9bb55d7ba852
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