Omit end tags inside skipped sections