Refactor Pandoc Paste so it leaves clipboard as is