[Psi-devel] leading and trailing newlines and no linkification
Kevin Smith
kevin at kismith.co.uk
Tue May 8 01:10:19 PDT 2007
On 8 May 2007, at 07:08, Frederik Schwarzer wrote:
> with the svn-677 version of Psi, I have strange behaviour when
> chatting with
> Kopete[1] contacts,
> There are two newlines leading and two newlines trailing every
> message I
> receive from that contacts
That's because Kopete sends every line within its own <p> tag, which
it's usual to render with pre and post spacing.
> and URLs are not linkified anymore.
That's because Kopete's sending xhtml messages, but isn't linkifying.
When we receive plain text, we attempt to linkify it, since there's
no way to specify a url in plain text, but when we receive xhtml we
render what we're given, since the sending client should specify links.
xhtml rendering can be disabled in the options window, which would
revert to the plain text (and thus linkified) rendering, but that
obviously will disable anything you genuinely want from xhtml-im.
> BTW: Some Links on http://forum.psi-im.org/thread/3 need updates. :)
Good catch, thanks.
/K
--
Kevin Smith
Psi XMPP Client Project Leader (http://psi-im.org)
More information about the psi-devel
mailing list