iosMath icon indicating copy to clipboard operation
iosMath copied to clipboard

I find that 341st rows in the MTMathAtomFactory class have an array overrun problem.

Open Hockly opened this issue 6 years ago • 1 comments

for (int i = 0; i < table.cells.count; i++) { NSArray<MTMathList*>* row = table.cells[i]; if (row.count >= 1) { //error [row[1] insertAtom:spacer atIndex:0]; } } When there is only one element in row, an array error is reported.

Hockly avatar Nov 05 '18 10:11 Hockly

@Hockly If you can reproduce it, it would be good to add a test for it and PR a bug fix.

cupojoe avatar Aug 29 '19 01:08 cupojoe