------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=155193         
           Summary: Kopete Jabber users sends wrong additional new lines
                    during chat
           Product: kopete
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kopete-devel kde org
        ReportedBy: mgol86 gmail com


Version:           0.12.7 (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
Compiler:          gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 
4.1.2-16ubuntu2) 
OS:                Linux

When a Jabber user uses Kopete they send messages having additional new line at 
the beginning and at the end of the message - it is so because it sends html - 
here is XML output when sending a message:

<body>MESSAGE_TEXT</body>
<html xmlns='http://jabber.org/protocol/xhtml-im'>
<body xmlns='http://www.w3.org/1999/xhtml'>
<p style=''>MESSAGE_TEXT<br/>
</p>
</body>
</html>
<active xmlns='http://jabber.org/protocol/chatstates'/>
<x xmlns='jabber:x:event'>
<offline/>
<composing/>
<delivered/>
<displayed/>
</x>
</message>

I think the problem is produced by these lines:

<html xmlns='http://jabber.org/protocol/xhtml-im'>
<body xmlns='http://www.w3.org/1999/xhtml'>
<p style=''>MESSAGE_TEXT<br/>
</p>
</body>
</html>

Message is sent within new paragraph (<p>) and has inside a </br> entry. It is 
really very annoying, especially when You use Gajim or Pidgin to communicate 
with Kopete user.
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to