mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 20:48:41 +00:00
Accept all existing Greek letters using unicode characters in math mode (#410)
Test Plan: - make test - run screenshot tests on travis-ci
This commit is contained in:
@@ -2332,3 +2332,13 @@ describe("A parser taking String objects", function() {
|
||||
expect(new String("\\frac 1 2")).toParseLike("\\frac 1 2");
|
||||
});
|
||||
});
|
||||
|
||||
describe("Unicode", function() {
|
||||
it("should parse all lower case Greek letters", function() {
|
||||
expect("αβγδεϵζηθϑικλμνξοπϖρϱςστυφϕχψω").toParse();
|
||||
});
|
||||
|
||||
it("should parse 'ΓΔΘΞΠΣΦΨΩ'", function() {
|
||||
expect("ΓΔΘΞΠΣΦΨΩ").toParse();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user