Copy as HTML offers 'text/html' mimetype, but it's empty, and 'text/plain' contains HTML tags
Copy as HTML offers 'text/html' mimetype, but it's empty, and 'text/plain' contains HTML tags
When I paste the result into a Google doc running in Firefox, the result is HTML tags. Expected richly formatted text.
When I paste the result into a Libre Office Writer doc, the result is an error dialog saying "Requested clipboard format is not available." Expected richly formatted text.
A workaround I found is to execute the following after selecting the Copy as HTML menu item:
xclip -sel c -t 'text/plain' -o | xclip -sel c -t 'text/html'
Version: 3.48.0
OS: Fedora 38 beta
Package: gnome-terminal-3.48.0-1.fc38.rpm
Initial discussion on the fedora test mailing list: Copy as HTML in Gnome Terminal (f38beta) - April 9, 2023