Fix \operatorname (#1461)
* Fix operatorname * Update MathML * Update screenshots * Fix lint error * Pick up comment * Remove duplicate lines * Fix lint error * Remove duplicate code * Replace \pi with \Pi in test * Revise RegEx * Update RegEx
@@ -2471,6 +2471,12 @@ describe("An aligned environment", function() {
|
||||
});
|
||||
});
|
||||
|
||||
describe("operatorname support", function() {
|
||||
it("should not fail", function() {
|
||||
expect("\\operatorname{x*Π∑\\Pi\\sum\\frac a b}").toBuild();
|
||||
});
|
||||
});
|
||||
|
||||
describe("An href command", function() {
|
||||
it("should parse its input", function() {
|
||||
expect("\\href{http://example.com/}{example here}").toParse();
|
||||
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 14 KiB |