Fix bug when an extra column starts in the middle of the table
This commit is contained in:
parent
94857660a8
commit
49564e8905
@ -504,7 +504,7 @@ public class WikitextImporter extends TabularImportingParserBase {
|
|||||||
List<Recon> recons = new ArrayList<Recon>(rowSize);
|
List<Recon> recons = new ArrayList<Recon>(rowSize);
|
||||||
for (int j = 0; j < rowSize; j++) {
|
for (int j = 0; j < rowSize; j++) {
|
||||||
recons.add(null);
|
recons.add(null);
|
||||||
if (i == 0)
|
if (j >= columnReconciled.size())
|
||||||
columnReconciled.add(false);
|
columnReconciled.add(false);
|
||||||
}
|
}
|
||||||
reconList.add(recons);
|
reconList.add(recons);
|
||||||
|
Loading…
Reference in New Issue
Block a user