[Pidgin] #13413: IM HTML->XHTML conversion chokes on font families with quotes
Pidgin
trac at pidgin.im
Thu Feb 24 11:34:10 EST 2011
#13413: IM HTML->XHTML conversion chokes on font families with quotes
------------------------+---------------------------------------------------
Reporter: darkrain42 | Owner:
Type: defect | Status: new
Component: libpurple | Version: 2.7.10
Keywords: |
------------------------+---------------------------------------------------
I think this is an issue in `purple_markup_html_to_xhtml`, but it may be
an issue in Pidgin's handling of incoming pastes (this was the revision
history for 0.2 quoted from http://xmpp.org/extensions/xep-0035.html).
What the XMPP prpl ends up seeing is:
{{{
<html xmlns='http://jabber.org/protocol/xhtml-im'><body
xmlns='http://www.w3.org/1999/xhtml'><p><span style='color:
#000000;'><span style='font-family: Verdana, Arial, Helvetica, Geneva,
sans-serif;'><span style='font-size: medium;'>The status of this
specification has been changed to Retracted since it has been superseded
by </span></span><span style='font-size: medium;'><span style='font-
weight: bold;'><span style='font-family: 'Times New Roman';'><a
href="http://tools.ietf.org/html/rfc3920">XMPP Core</a></span></span><span
style='font-family: 'Times New Roman';'> </span></span></span><span style
='font-size: medium;'>[<a href="http://xmpp.org/extensions/xep-0035.html
#nt-id265450">1</a>]. (psa)</span></p></body></html>
}}}
which contains {{{ <span style='font-family: 'Times New Roman';'> }}}.
util.c:1717 probably needs to escape quotes, or otherwise handle this.
(if it's not something further up in the chain)
--
Ticket URL: <http://developer.pidgin.im/ticket/13413>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list