This is the Win32 version. trying to test it on linux and with a bit of investigation, i found that the Linux version is as easy as void WriteClipboardHTML(const String& html) { WriteClipboard("text/html", html); } (tested on Ubuntu/ Gnome) I dont have a MacOS machine, then i have not tested it.
void WriteClipboardHTML(const String& html) { WriteClipboard("text/html", html); }
Report message to a moderator