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

Previous line to table ignored if it is a line break

parent 8970d22e
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,8 @@ def parse_all_examples(txt): ...@@ -82,7 +82,8 @@ def parse_all_examples(txt):
if is_example_table(line): if is_example_table(line):
linetext = str(line.rows[0].cells[0].text) linetext = str(line.rows[0].cells[0].text)
elif isinstance(line, str): elif isinstance(line, str):
linetext = line if line != '\r\n' and line != '\n':
linetext = line
else: else:
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment