[Psi-devel] leading and trailing newlines and no linkification
Francisco Joaquín Rodríguez Prados
prados at gmail.com
Wed May 9 02:50:17 PDT 2007
On 08/05/07, Frederik Schwarzer <schwarzerf at gmail.com> wrote:
>
> Remaining question is, if this is considered as a bug in kopete (and
> others)
> and if there in any source to read about the specifications that define
> these
> things?
More than a bug I think it is *their* solution to xhtml message creation. As
far as I know, there's no place in the JEP where it is said how xhtml
messages should be encapsulated (I mean, which tag is preferable for
single/multiline messages).
Maybe the logical option would be <span> tag for single-line messages, and
multiple <p> tags for multiline. But that's not a convention, is a hack
which would work for us (remember we render nick+first message line
together). In any case, xhtml render in Psi now sucks because we are
translating xhtml code to plain rich text - i.e. no flexible linespace and
all.
Kopete's solution works fine for them, as they use a new line for each
message in most of the chat themes. So it does for Adium.
Fran.
--
Francisco Joaquín Rodríguez Prados
Colegio Mayor Isabel la Católica
Universidad de Granada
Granada, Spain
Phone: (+49) 176 24 255 490
Phone: (+34) 615 975 631
E-mail: prados at gmail.com
JID: franqui at jabber.dk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20070509/3a31d814/attachment.htm
More information about the psi-devel
mailing list