Skip to content

Commit ad0de82

Browse files
committed
Fix link issues
1 parent b042654 commit ad0de82

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

ts/input/tex/cases/CasesConfiguration.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export const CasesMethods = {
134134
*
135135
* @param {TexParser} parser The active tex parser.
136136
* @param {string} name The environment name.
137+
* @returns {ParseResult} The parser result code.
137138
*/
138139
Entry(parser: TexParser, name: string): ParseResult {
139140
if (!parser.stack.Top().getProperty('numCases')) {
@@ -210,6 +211,7 @@ export const CasesMethods = {
210211
const text = tex.substring(parser.i, i).replace(/^\s*/, '');
211212
parser.PushAll(ParseUtil.internalMath(parser, text, 0));
212213
parser.i = i;
214+
return null;
213215
},
214216

215217
/**

ts/input/tex/empheq/EmpheqConfiguration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export const EmpheqMethods = {
3838
/**
3939
* Handle an empheq environment.
4040
*
41-
* @param {TexParser} parser The active tex parser.
42-
* @param {EmpheqBeginItem} begin The begin item for this environment.
41+
* @param {TexParser} parser The active tex parser.
42+
* @param {BeginItem} begin The begin item for this environment.
4343
*/
4444
Empheq(parser: TexParser, begin: BeginItem) {
4545
if (parser.stack.env.closing === begin.getName()) {

0 commit comments

Comments
 (0)