On Thursday 15 May 2008 05:30:47 am Detlev Casanova wrote:
> Maybe the patch...
>
> On Thursday 15 May 2008 12:28:06 Detlev Casanova wrote:
> > 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

looks fine. please commit
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to