@@ -1272,8 +1272,8 @@ LOGGING:
1272
1272
}
1273
1273
function preprocessAction(action : string , workspace : any ) {
1274
1274
// Table ends if row ended and anything other than start row follows it
1275
- if (! workspace .inRow && workspace .inTable && ! (action === ' startRow' )) {
1276
- workspace .inTable = false ;
1275
+ if (! workspace .inRow && workspace .insideTable && ! (action === ' startRow' )) {
1276
+ workspace .insideTable = false ;
1277
1277
workspace .root .appendChild (workspace .tableElement );
1278
1278
}
1279
1279
}
@@ -1399,7 +1399,7 @@ LOGGING:
1399
1399
workspace .lastPhraseTerminated = false ;
1400
1400
workspace .currentVideoIndex = 0 ;
1401
1401
workspace .chapterNumText = ' ' ;
1402
- workspace .inTable = false ;
1402
+ workspace .insideTable = false ;
1403
1403
workspace .inRow = false ;
1404
1404
workspace .tableElement = null ;
1405
1405
workspace .tableRowElement = null ;
@@ -2369,10 +2369,10 @@ LOGGING:
2369
2369
console .log (' Start Row %o' , context .sequences [0 ].element );
2370
2370
}
2371
2371
preprocessAction (' startRow' , workspace );
2372
- if (! workspace .inTable ) {
2372
+ if (! workspace .insideTable ) {
2373
2373
workspace .tableElement = document .createElement (' table' );
2374
2374
workspace .tableElement .setAttribute (' cellpadding' , ' 5' );
2375
- workspace .inTable = true ;
2375
+ workspace .insideTable = true ;
2376
2376
}
2377
2377
workspace .inRow = true ;
2378
2378
workspace .tableRowElement = document .createElement (' tr' );
0 commit comments