fix new lines, ignored tags