mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-10 21:48:41 +00:00
committed by
Kevin Barabash
parent
0b7b4db7fc
commit
4dd0e2cdca
@@ -713,6 +713,9 @@ exports[`A MathML builder special spaces render specially 1`] = `
|
||||
<mtext>
|
||||
 
|
||||
</mtext>
|
||||
<mtext>
|
||||
 
|
||||
</mtext>
|
||||
<mtext>
|
||||
  
|
||||
</mtext>
|
||||
@@ -757,7 +760,7 @@ exports[`A MathML builder special spaces render specially 1`] = `
|
||||
</mtext>
|
||||
</mrow>
|
||||
<annotation encoding="application/x-tex">
|
||||
\\,\\thinspace\\:\\medspace\\;\\thickspace\\!\\negthinspace\\negmedspace\\negthickspace\\mkern1mu\\mkern3mu\\mkern4mu\\mkern5mu\\mkern-1mu\\mkern-3mu\\mkern-4mu\\mkern-5mu
|
||||
\\,\\thinspace\\:\\>\\medspace\\;\\thickspace\\!\\negthinspace\\negmedspace\\negthickspace\\mkern1mu\\mkern3mu\\mkern4mu\\mkern5mu\\mkern-1mu\\mkern-3mu\\mkern-4mu\\mkern-5mu
|
||||
</annotation>
|
||||
</semantics>
|
||||
</math>
|
||||
|
@@ -752,7 +752,7 @@ describe("A text parser", function() {
|
||||
});
|
||||
|
||||
it("should parse spacing functions", function() {
|
||||
expect`a b\, \; \! \: ~ \thinspace \medspace \quad \ `.toBuild();
|
||||
expect`a b\, \; \! \: \> ~ \thinspace \medspace \quad \ `.toBuild();
|
||||
expect`\enspace \thickspace \qquad \space \nobreakspace`.toBuild();
|
||||
});
|
||||
|
||||
|
@@ -109,7 +109,7 @@ describe("A MathML builder", function() {
|
||||
});
|
||||
it('special spaces render specially', function() {
|
||||
expect(getMathML(
|
||||
"\\,\\thinspace\\:\\medspace\\;\\thickspace" +
|
||||
"\\,\\thinspace\\:\\>\\medspace\\;\\thickspace" +
|
||||
"\\!\\negthinspace\\negmedspace\\negthickspace" +
|
||||
"\\mkern1mu\\mkern3mu\\mkern4mu\\mkern5mu" +
|
||||
"\\mkern-1mu\\mkern-3mu\\mkern-4mu\\mkern-5mu")).toMatchSnapshot();
|
||||
|
Reference in New Issue
Block a user