improved to match only the next end tag