diff --git a/src/example.py b/src/example.py index 3eac41504e23eee2e7c5b72a9e9fe06d6f5680de..933708a540dea973635d7ca7effe067a088a11b4 100644 --- a/src/example.py +++ b/src/example.py @@ -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