commit 11d3f4f7a2715bd0a4fcd9fcc9973a9e81275a4d
Author: Thibaut Cuvelier <tcuvel...@lyx.org>
Date:   Mon Mar 24 03:01:03 2025 +0100

    InsetMathChar: add a comment about respecting fonts.
---
 src/mathed/InsetMathChar.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mathed/InsetMathChar.cpp b/src/mathed/InsetMathChar.cpp
index 63236792f4..8ab1bcc3ff 100644
--- a/src/mathed/InsetMathChar.cpp
+++ b/src/mathed/InsetMathChar.cpp
@@ -256,6 +256,9 @@ void InsetMathChar::octave(OctaveStream & os) const
 // is recognised as an operator, to match TeX' behaviour.
 void InsetMathChar::mathmlize(MathMLStream & ms) const
 {
+       // The characters hard-coded here do not need to respect the font,
+       // they do not have a Unicode mapping (in the sense of
+       // unicode_alphanum_variants).
        std::string entity;
        switch (char_) {
        case '<': entity = "&lt;"; break;
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to