mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
Allow some functions to have letters after them
Summary: Allow there to be letters immediately after \ , \;, \,, \:. Test Plan: Run the tests Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D3031
This commit is contained in:
@@ -319,6 +319,12 @@ describe("A function parser", function() {
|
||||
parseTree("\\dfrac12");
|
||||
}).not.toThrow();
|
||||
});
|
||||
|
||||
it("should parse some functions with text right after it", function() {
|
||||
expect(function() {
|
||||
parseTree("\\;x");
|
||||
}).not.toThrow();
|
||||
});
|
||||
});
|
||||
|
||||
describe("A dfrac parser", function() {
|
||||
|
Reference in New Issue
Block a user