Skip to content

Commit

Permalink
Restore original `i's.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgriebling committed Dec 17, 2024
1 parent c73dc86 commit 1708b07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/SwiftMath/MathRender/MTMathAtomFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -414,19 +414,19 @@ public class MTMathAtomFactory {

static var supportedAccentedCharacters: [Character: (String, String)] = [
// Acute accents
"á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "ı"),
"á": ("acute", "a"), "é": ("acute", "e"), "í": ("acute", "i"),
"ó": ("acute", "o"), "ú": ("acute", "u"), "ý": ("acute", "y"),

// Grave accents
"à": ("grave", "a"), "è": ("grave", "e"), "ì": ("grave", "ı"),
"à": ("grave", "a"), "è": ("grave", "e"), "ì": ("grave", "i"),
"ò": ("grave", "o"), "ù": ("grave", "u"),

// Circumflex
"â": ("hat", "a"), "ê": ("hat", "e"), "î": ("hat", "ı"),
"â": ("hat", "a"), "ê": ("hat", "e"), "î": ("hat", "i"),
"ô": ("hat", "o"), "û": ("hat", "u"),

// Umlaut/dieresis
"ä": ("ddot", "a"), "ë": ("ddot", "e"), "ï": ("ddot", "ı"),
"ä": ("ddot", "a"), "ë": ("ddot", "e"), "ï": ("ddot", "i"),
"ö": ("ddot", "o"), "ü": ("ddot", "u"), "ÿ": ("ddot", "y"),

// Tilde
Expand Down

0 comments on commit 1708b07

Please sign in to comment.