fix pasrsing skip logic for tag attribute