Hacker News new | ask | show | jobs
by jsmith99 2309 days ago
On Windows, clipboard items have hidden tags added when they are copied, so the program you are pasting into can make these decisions, instead of the program you are copying from needing to manipulate the copied text. For example, if I copied that code from a Web page and pasted it into the console it would paste just the code, but if I pasted it into Onenote it would check the tags and add a line underneath with the url the code was copied from.

https://devblogs.microsoft.com/oldnewthing/20140721-00/?p=45...