Hello, Here's a patch correcting the problem of end of line not shown in the message part when sending a message wich contains several lines.
The KRichTextEditPart::text() method returns the text in paragraphs instead of putting <br /> at the end of lines when it is asked to return rich text. When the message was escaped ( Message::escapedBody() ) , all <p> and </p> tags were removed, that's why the text was wrongly shown in the message part (plain text is send to the contact so no problem there). I simply removed the suppression of these paragraphs so it is shown right in the message part. Another solution would be to remove the open tag (<p*>) and replace the close tag (</p>) by a new line tag (<br />) so it is *really* escaped. It works now with paragraphs so... "If it's not broken, don't fix it" :p -- Detlev Casanova Student at the Université de Liège (computer science) Google Summer of Code 2008 student.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
