Lua - Copying text from HTML widget adds CSS rule
Copying text from a Lua HTML widget adds a visible CSS rule to the clipboard.
Steps to reproduce:
- Download and install Lyrics Finder: https://github.com/Smile4ever/VLC-Lyrics-Finder
- Download and open this in VLC: https://www.dropbox.com/s/rj9i4bang7lwjsz/Michael%20McDonald%20-%20I%20Keep%20Forgettin.mp4?dl=1
- Go to View -> Lyrics Finder
- Copy a few lines from the HTML box (largest textbox)
- I could reproduce this with Pidgin, so open Pidgin, add an account, and message someone with the text (CTRL+V)
- Now you see the formatting error: p, li { white-space: pre-wrap; } TEXT TEXT instead of TEXT TEXT. It's very unlikely Pidgin added this CSS rule itself.