Commit 47888cb4 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix for generating the filename of annex E

parent 911fad58
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ def is_heading(txt :str):
    (Previously this predicate was used: ("Heading" in line.style.name) but 
    not all headings have the correct style
    '''
    return txt.startswith("A.")
    return (txt.startswith("A.")) or (txt.startswith("E."))

def is_example_table(tab):
    return len(tab.rows) == 1 and len(tab.rows[0].cells) == 1