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

Ignore previous line to table if empty line

parent a0666570
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -82,7 +82,6 @@ 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
        else:
            continue
@@ -102,6 +101,7 @@ def parse_all_examples(txt):
            res.append(Example(filename, new_example))
            new_example = ""

        if linetext != "":
            previous_line = linetext

    return res