|
|
|
@ -2006,9 +2006,9 @@ class blocText:
|
|
|
|
|
r = captionTxtBloc.search(text)
|
|
|
|
|
if r:
|
|
|
|
|
headersTxt.append(r.group(0))
|
|
|
|
|
txtSpl = text.split(r.group(0))
|
|
|
|
|
txtSpl = text.partition(r.group(0))
|
|
|
|
|
blocTxt = txtSpl[0]
|
|
|
|
|
txtWr = txtSpl[1]
|
|
|
|
|
txtWr = txtSpl[2]
|
|
|
|
|
rb = bodyTxtBloc.search(blocTxt)
|
|
|
|
|
if not blocTxt:
|
|
|
|
|
blocsTxt.append(blocTxt)
|
|
|
|
@ -2018,9 +2018,9 @@ class blocText:
|
|
|
|
|
r = captionTxtBloc.search(txtWr)
|
|
|
|
|
if r:
|
|
|
|
|
headersTxt.append(r.group(0))
|
|
|
|
|
txtSpl = txtWr.split(r.group(0))
|
|
|
|
|
txtSpl = txtWr.partition(r.group(0))
|
|
|
|
|
blocTxt = txtSpl[0]
|
|
|
|
|
txtWr = txtSpl[1]
|
|
|
|
|
txtWr = txtSpl[2]
|
|
|
|
|
rb = bodyTxtBloc.search(blocTxt)
|
|
|
|
|
if rb:
|
|
|
|
|
blocsTxt.append(rb.group(0))
|
|
|
|
|