Fix typo [ci skip]

This commit is contained in:
Ines Montani 2019-03-22 18:36:17 +01:00
parent d8533f0149
commit b532386a60

View File

@ -404,7 +404,7 @@ class BadHTMLMerger(object):
for match_id, start, end in matches:
spans.append(doc[start:end])
with doc.retokenize() as retokenizer:
for span in spans:
for span in hashtags:
retokenizer.merge(span)
for token in span:
token._.bad_html = True # Mark token as bad HTML