mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
add \ae, \AE, \oe, \OE, \o, \O, \ss with unicode support for those characters in text mode (#1030)
This commit is contained in:
@@ -2843,4 +2843,10 @@ describe("Symbols", function() {
|
||||
it("should parse \\text{\\i\\j}", () => {
|
||||
expect("\\text{\\i\\j}").toParse();
|
||||
});
|
||||
|
||||
it("should render ligature commands like their unicode characters", () => {
|
||||
const commands = getBuilt("\\text{\\ae\\AE\\oe\\OE\\o\\O\\ss}");
|
||||
const unicode = getBuilt("\\text{æÆœŒøØß}");
|
||||
expect(commands).toEqual(unicode);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user