Correctly escape <> in sequence types