Skip to content
Snippets Groups Projects
Commit 3cac165e authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix for merged rows

parent 0fbabb1a
Branches
No related tags found
1 merge request!1Restructuring and cleaning scripts for Mkdocs
...@@ -421,7 +421,7 @@ def parseGridTableWithSpans(gridTable:str) -> tuple[GridTableRowList, GridTableR ...@@ -421,7 +421,7 @@ def parseGridTableWithSpans(gridTable:str) -> tuple[GridTableRowList, GridTableR
rowIndex = rowsTracker[columnCellIndex] # Correcting the rowIndex. Might have been changed by a previous iteration rowIndex = rowsTracker[columnCellIndex] # Correcting the rowIndex. Might have been changed by a previous iteration
if rows[rowIndex][columnCellIndex].position >= delimiterPositions[delIndex]: if rows[rowIndex][columnCellIndex].position >= delimiterPositions[delIndex]:
columnForward += 1 columnForward += 1
rowsTracker[columnCellIndex + columnForward - 1] = maxRowsTracker + 1 if columnForward > 1 else 0 #rowsTracker[columnCellIndex + columnForward - 1] = maxRowsTracker + 1 if columnForward > 1 else 0
columnCellIndex += columnForward columnCellIndex += columnForward
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment