]> git.lyx.org Git - features.git/commit
MathML: make InsetMathHull::mathmlize easier to read while doing less work
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 22 Jan 2023 00:49:03 +0000 (01:49 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 22 Jan 2023 00:49:03 +0000 (01:49 +0100)
commitd066a66a51b423ece3588198b6d29a9a67ac49b5
tree05500b8d85950f5cc510299a194272e705afc602
parente7d57338b955a60b26cc60e9674d4b5937f37169
MathML: make InsetMathHull::mathmlize easier to read while doing less work

If `havetable == true`, a lot of the code didn't make any sense: in particular, it was outputting a level of <m:mrow> too many.

Also, add some comments and rewrite the comment about mlabeledtr.

Contributed by lynx: https://www.lyx.org/trac/ticket/12629
src/mathed/InsetMathHull.cpp