Fixed Cyrillic characters.

This commit is contained in:
Michael Griebling
2023-01-16 15:46:20 -05:00
parent da9d449265
commit 225d5d2a97

View File

@@ -526,7 +526,7 @@ public class MTMathAtomFactory {
public static func atom(forCharacter ch: Character) -> MTMathAtom? {
let chStr = String(ch)
switch chStr {
case "\\u{0410}"..."\\u{044F}":
case "\u{0410}"..."\u{044F}":
return MTMathAtom(type: .ordinary, value: chStr)
case _ where ch.utf32Char < 0x0021 || ch.utf32Char > 0x007E:
return nil