Transform quotes