Support 'end tag X'