fix highlighting for text points inside <SPAN>s