inserting folds needs to split out spans