[Pidgin] #16746: Pasting from Lyrics Finder to Pidgin conversation doesn't work properly

Pidgin trac at pidgin.im
Mon Aug 24 08:56:34 EDT 2015


#16746: Pasting from Lyrics Finder to Pidgin conversation doesn't work properly
--------------------------------+---------------------------
 Reporter:  computergeoffrey@…  |       Owner:  EionRobb
     Type:  defect              |      Status:  new
Milestone:                      |   Component:  unclassified
  Version:  2.10.11             |  Resolution:
 Keywords:                      |
--------------------------------+---------------------------

Comment (by computergeoffrey@…):

 After a little testing, I have come to a conclusion.

 VLC Media Player copies a few variants to the clipboard that can be used
 by Pidgin. Available formats are:
 text/plain, UTF8_STRING, STRING, TEXT, COMPOUND_TEXT and text/html

 Pidgin appears to use text/html from the clipboard and strips it to keep
 the text. It would be less error prone to use text/plain from the
 clipboard. This would also fix this bug.

 Please see the log with the output of the various clipboard formats. The
 clipboard detection script is attached too.

 So it appears the CSS doesn't get stripped properly:
 <style type="text/css">
 p, li { white-space: pre-wrap; }
 </style>
 from the clipboard's text/html gets stripped to p, li { white-space: pre-
 wrap; } while it should have been nothing.

--
Ticket URL: <https://developer.pidgin.im/ticket/16746#comment:2>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list