Commit 2bb5c756 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Ignore previous line to table if empty line



Signed-off-by: Miguel Angel Reina Ortega's avatarMiguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org>
parent a0666570
......@@ -82,8 +82,7 @@ def parse_all_examples(txt):
if is_example_table(line):
linetext = str(line.rows[0].cells[0].text)
elif isinstance(line, str):
if line != '\r\n' and line != '\n':
linetext = line
linetext = line
else:
continue
......@@ -102,7 +101,8 @@ def parse_all_examples(txt):
res.append(Example(filename, new_example))
new_example = ""
previous_line = linetext
if linetext != "":
previous_line = linetext
return res
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment