[Pidgin] #13413: IM HTML->XHTML conversion chokes on font families with quotes

Pidgin trac at pidgin.im
Thu Mar 10 01:43:20 EST 2011


#13413: IM HTML->XHTML conversion chokes on font families with quotes
------------------------------------+---------------------------------------
 Reporter:  darkrain42              |        Owner:           
     Type:  patch                   |       Status:  new      
Milestone:  Patches Needing Review  |    Component:  libpurple
  Version:  2.7.10                  |   Resolution:           
 Keywords:                          |  
------------------------------------+---------------------------------------

Comment(by loic):

 attachment:quotes.patch is another patch that tries to address all quoting
 issues of this kind, for font, alt and href. It also contains extensive
 tests for the rest of the function: I found them useful when trying to
 understand specific parts of the code. I ran into a related bug, reported
 separately in #13485 . I also suspect some unreachable code in a macro but
 did not report this because it does not harm:  it looks like {{{ } else
 if(*c == '\\') { }}} cannot happen at {{{/pidgin-
 mtn/libpurple/util.c:1363}}} because it is within an
 {{{if(!g_ascii_strncasecmp(c, "<" x " ", strlen("<" x " "))}}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13413#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list