Remove spurious end-tag