when filtering matches, ignore img tags