This commit is contained in:
libing
2025-02-12 06:15:06 +00:00
parent 606f9be66d
commit d84db07ef3
2 changed files with 10 additions and 1 deletions

View File

@@ -626,7 +626,7 @@ public struct MTMathListBuilder {
var mutable = ""
while self.hasCharacters {
let ch = self.getNextCharacter()
if ch == "#" || (ch >= "A" && ch <= "F") || (ch >= "a" && ch <= "f") || (ch >= "0" && ch <= "9") {
if ch == "#" || (ch >= "A" && ch <= "Z") || (ch >= "a" && ch <= "z") || (ch >= "0" && ch <= "9") {
mutable.append(ch) // appendString:[NSString stringWithCharacters:&ch length:1]];
} else {
// we went too far