# Combine multiline content into single strings for each cell
# Combine multiline content into single strings for each cell
forlineinrow_lines:
forlineinrow_lines:
ifis_separator(line)andnotin_data_row:
ifis_separator(line)andnotin_data_row:
number_of_columns_row=line.count("+")-1
in_data_row=True
in_data_row=True
parts=re.split(r"\s*\+\s*",line.strip("+"))
parts=re.split(r"\s*\+\s*",line.strip("+"))
# Add as many cells as columns with span attributes
delimiter_index=0
delimiter_index=0
# Determine the alignment of the cell - In order to replicate Pandoc's behaviour (do not support of alignment colons on separator lines (just header separator)
# Determine the alignment of the cell - In order to replicate Pandoc's behaviour (do not support of alignment colons on separator lines (just header separator)
# we need to assign the default alignment as defined in the header separator line
# we need to assign the default alignment as defined in the header separator line