[Pidgin] #13355: font-style:italic doesn't work in span tag

Pidgin trac at pidgin.im
Thu Feb 10 05:01:15 EST 2011


#13355: font-style:italic doesn't work in span tag
----------------------------------------------+-----------------------------
 Reporter:  floflorent                        |     Owner:  deryni
     Type:  defect                            |    Status:  new   
Component:  XMPP                              |   Version:  2.7.10
 Keywords:  xmpp span font italic tags xhtml  |  
----------------------------------------------+-----------------------------
 I've developed an Android application to control my phone over xmpp
 protocol and I format my phone responses in XHTML.

 When I create a span tag with "font-weight:bold" it works fine.
 But when I use "font-style:italic" it's doesn't work.

 It must be a pidgin issue because it works fine with other xmpp client.

 Style attributes are favored of structural elements.
 From XEP-0071:[[BR]]
 ''The use of structural elements is NOT RECOMMENDED where presentational
 styles are desired, which is why very few structural elements are
 specified herein. Implementations SHOULD use appropriate 'style'
 attributes (e.g., <span style='font-weight: bold'>this is bold</span> and
 <p style='margin-left: 5%'>this is indented</p>) rather than XHTML
 structural elements (e.g., <strong/> and <blockquote/>) wherever
 possible.''

 Moreover can you raise the tag number limit ?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13355>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list