Ignore comments
Fix matching of opening tags

This fixes unwanted matching of opening tags inside attributes