Commit faa34d0e authored by Biagio's avatar Biagio

inline offset fix

parent b5f5f042
......@@ -46,7 +46,7 @@ def parse_main(main_text, document):
continue
m = engine.search(p)
if m is not None:
qualification, (qstart, qend), qterm = qualify_paragraph(p) # qualifier.qualify_paragraph(p)[0]
qualification, (qstart, qend), qterm = qualify_paragraph(p[m.end:].lstrip()) # qualifier.qualify_paragraph(p)[0]
if m.type == "numbers":
first_group = m.groups()[0].key
if first_group == "doc_num":
......
Markdown is supported
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