[Bug 15449] HTML: finish formatted text support

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 31 13:22:33 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=15449

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-10-31 05:22:33 PDT ---
(In reply to comment #3)
> I dove into libpurple a little and I've discovered the following tags are
> supported
[...]

Most of the protocols supported by libpurple support a small subset of those
tags (e.g. IRC can only do bold, underline and colours; and if I remember
correctly, ICQ can only change foreground/background colour for an entire
message at a time, but not for e.g. individual words or sentences). We need
each connection manager to be able to describe what its protocol supports, so
that UIs can hide or disable controls for formatting that doesn't exist in that
protocol, to avoid misleading 

To describe those capabilities, someone will need to research what levels of
support exist in real-world protocols, and someone (not necessarily the same
someone) will need to design a way to represent those levels of support. I
believe libpurple has a system of relatively simple flags, and each protocol
has some of those flags - "can do bold", "can do colours for entire messages",
"can do all of XHTML-IM"? We can probably do something similar.

The HTML interface also needs to discuss security considerations, I think
(whitelist-based filtering for "safe" HTML is needed).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list