Added code to strip insert placeholders on copy/cut.