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

Strip trailing spaces from grid table lines

parent 0fc4d7e4
No related branches found
No related tags found
1 merge request!1Restructuring and cleaning scripts for Mkdocs
...@@ -160,7 +160,7 @@ def parseGridTableWithSpans(gridTable:str) -> tuple[GridTableRowList, GridTableR ...@@ -160,7 +160,7 @@ def parseGridTableWithSpans(gridTable:str) -> tuple[GridTableRowList, GridTableR
nextListElementMark = '@' nextListElementMark = '@'
# Split the input into lines # Split the input into lines
lines:list[str] = [line for line in gridTable.split('\n')] lines:list[str] = [line for line in gridTable.rstrip().split('\n')]
# Detect separator lines by pattern (it does not take into account partial separators # Detect separator lines by pattern (it does not take into account partial separators
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment