def clean_highlight(self):
if not self.valid:<EOL><INDENT>return<EOL><DEDENT>for hit in self._results['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>if '<STR_LIT>' in hit:<EOL><INDENT>hl = hit['<STR_LIT>']<EOL>for key, item in list(hl.items()):<EOL><INDENT>if not item:<EOL><INDENT>del hl[key]<EOL><DEDENT><DEDENT><DEDENT><DEDENT>
Remove the empty highlight