[Pidgin] #2552: HTML logging closing apostrophe in span style tag written in incorrect location
Pidgin
trac at pidgin.im
Mon Aug 13 20:48:52 EDT 2007
#2552: HTML logging closing apostrophe in span style tag written in incorrect
location
-------------------------------------------------------+--------------------
Reporter: varchar255 | Type: defect
Status: new | Priority: minor
Component: pidgin (gtk) | Version: 2.1.0
Keywords: html, logging, apostrophe, span style tag | Pending: 0
-------------------------------------------------------+--------------------
When using HTML logging on the AIM protocol, the closing apostrophe in
span style tags for certain screennames does not appear in the correct
location. Reproduce by IMming SmarterChild (a bot on AIM) and examining
the HTML log:
{{{
<font color="#A82F2F"><font size="2">(10:43:55)</font>
<b>SmarterChild:</b></font> <span style='background: #CCFFFF;'><span style
='font-family: courier new; font-size: x-small; color:
#0000BB>Sorry,;'>Sorry, I need to know if I can ask you some questions
first. Type <span style='font-weight: bold;'>yes</span>, <span style
='font-weight: bold;'>no</span> or <span style='font-weight:
bold;'>skip</span>.<span style='font-family: Times; font-size: small;
color: #000000></body>;'></span></span></span><br/>
}}}
The first apostrophe should appear immediately after #0000BB, but instead,
Pidgin is duplicating the first word of the message then adding the
apostrophe afterwards. Notice the last span tag is also improperly closed;
the apostrophe should come after the #000000 and the "</body>" should not
be there at all. This happens consistently with certain screennames (like
SmarterChild) but I haven't figured out what the trigger is.
This problem exists using on the AIM protocol using Pidgin 2.1.0 and has
existed since Gaim beta 6, both Windows and Linux.
--
Ticket URL: <http://developer.pidgin.im/ticket/2552>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list