wikiextractor icon indicating copy to clipboard operation
wikiextractor copied to clipboard

the function dropNested

Open jcyk opened this issue 5 years ago • 0 comments

Hi please look at this line

https://github.com/attardi/wikiextractor/blob/6490f5361d7658208ad7f8e5deeb56ee0fe9e02f/wikiextractor/extract.py#L316

shouldn't it be while end.end() <= next.start(): instead of while end.end() < next.start():?

I think here the true condition is that } is before {. However, currently it means } is before { and there are some characters between them.

Am I misunderstanding?

jcyk avatar Mar 16 '21 13:03 jcyk