Opened 8 years ago

#13355 new defect

font-style:italic doesn't work in span tag

Reported by: floflorent Owned by: deryni
Milestone: Component: XMPP
Version: 2.7.10 Keywords: xmpp span font italic tags xhtml
Cc:

Description

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:
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 ?

Change History (0)

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!