Loading toMkdocs/gridTableTools.py +11 −2 Original line number Diff line number Diff line Loading @@ -532,6 +532,10 @@ def parseGridTableWithSpans(gridTable:str) -> tuple[GridTableRowList, GridTableR forwardRowspan[cellIndex] -= 1 if forwardRowspan[cellIndex] == 0 and cell.rowspan > 1: forwardRowspan[cellIndex] = cell.rowspan -1 colspan=1 while cell.colspan > colspan: forwardRowspan[cellIndex + colspan] = cell.rowspan - 1 colspan += 1 if not sum == numberOfColumns: raise ValueError('Grid table not converted properly') Loading @@ -551,6 +555,11 @@ def parseGridTableWithSpans(gridTable:str) -> tuple[GridTableRowList, GridTableR forwardRowspan[cellIndex] -= 1 if forwardRowspan[cellIndex] == 0 and cell.rowspan > 1: forwardRowspan[cellIndex] = cell.rowspan - 1 colspan=1 while cell.colspan > colspan: forwardRowspan[cellIndex + colspan] = cell.rowspan - 1 colspan += 1 if not sum == numberOfColumns: raise ValueError('Grid table not converted properly') Loading Loading
toMkdocs/gridTableTools.py +11 −2 Original line number Diff line number Diff line Loading @@ -532,6 +532,10 @@ def parseGridTableWithSpans(gridTable:str) -> tuple[GridTableRowList, GridTableR forwardRowspan[cellIndex] -= 1 if forwardRowspan[cellIndex] == 0 and cell.rowspan > 1: forwardRowspan[cellIndex] = cell.rowspan -1 colspan=1 while cell.colspan > colspan: forwardRowspan[cellIndex + colspan] = cell.rowspan - 1 colspan += 1 if not sum == numberOfColumns: raise ValueError('Grid table not converted properly') Loading @@ -551,6 +555,11 @@ def parseGridTableWithSpans(gridTable:str) -> tuple[GridTableRowList, GridTableR forwardRowspan[cellIndex] -= 1 if forwardRowspan[cellIndex] == 0 and cell.rowspan > 1: forwardRowspan[cellIndex] = cell.rowspan - 1 colspan=1 while cell.colspan > colspan: forwardRowspan[cellIndex + colspan] = cell.rowspan - 1 colspan += 1 if not sum == numberOfColumns: raise ValueError('Grid table not converted properly') Loading