Fix for copy paste formatted text