mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +00:00
Use proper minus sign character in MathML Core.
Fixes bug https://www.lyx.org/trac/ticket/13067. Based on the patch in the ticket above by Jean-Marc Lasgouttes.
This commit is contained in:
parent
ca5d5a0b1a
commit
790c153737
@ -239,6 +239,12 @@ void InsetMathChar::mathmlize(MathMLStream & ms) const
|
||||
case '<': entity = "<"; break;
|
||||
case '>': entity = ">"; break;
|
||||
case '&': entity = "&"; break;
|
||||
case '-':
|
||||
if (ms.version() == MathMLStream::mathmlCore) {
|
||||
// − U+2212 MINUS SIGN
|
||||
entity = "−";
|
||||
}
|
||||
break;
|
||||
case ' ': {
|
||||
ms << from_ascii(" ");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user