Skip to content

Commit

Permalink
Update Table.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredliw authored and didix21 committed Oct 18, 2021
1 parent c7c119c commit 9cc2a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdutils/tools/Table.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def create_table(self, columns: int, rows: int, text: [str], text_align: Optiona
else:
table += '|'
for _ in range(columns):
table += str(text[index]) + '|'
table += str(text[index]).replace("|", r"\|") + '|'
index += 1
table += '\n'
return table
Expand Down

0 comments on commit 9cc2a5c

Please sign in to comment.