[Pidgin] #3143: msimprpl nested bold/italic/underline formatting

Pidgin trac at pidgin.im
Sun Sep 16 23:24:59 EDT 2007


#3143: msimprpl nested bold/italic/underline formatting
-------------------------+--------------------------------------------------
 Reporter:  jeff         |       Owner:  jeff 
     Type:  enhancement  |      Status:  new  
 Priority:  minor        |   Milestone:  2.3.0
Component:  libpurple    |     Version:  2.2.0
 Keywords:  msimprpl     |     Pending:  0    
-------------------------+--------------------------------------------------
 msimprpl should supported nested formatting, that is, bold within italics,
 etc. You should be able to easily nest bold/italic/underline formatting in
 your IM client, and msimprpl should convert the HTML tags to MySpaceIM
 markup's <f> tag.

 HTML nests formatting like this: <b>this is bold<i>this is bold-italic
 <u>this is bold-italic-underline</u></i></b>. But MySpaceIM markup does
 this: <f s='1'>this is bold</f><f s='3'>this is bold-italic</f><f
 s='7>this is bold-italic-underline</f>. Code will be needed to transform
 between a bitfield and nested HTML tags, back and forth.

 See MsimProtocolSpec and Week 5 Updates: Incoming Message Formatting at
 http://planet-soc.com/node/1564 for some more details. Actual code to be
 modified/added to will be in libpurple/protocols/myspace/markup.c
 html_tag_to_msim_markup() and msim_markup_tag_to_html().

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


More information about the Tracker mailing list