On Monday 12 February 2007, Thiago Macieira wrote:
> Martijn Klingens wrote:
> >Thus I would like to switch the code to use the rich text body instead
> > of plainBody() saving the expensive conversion. But in that case we
> > feed isRightToLeft() a string containing HTML markup, is that going to
> > influence the result?
>
> Yes. The HTML markup tags are written in the Latin script, which is LTR.
> So if you check isRightToLeft on the HTML markup, you're going to get LTR
> always.

Ok, that implies that we have to store the LTR status ourselves, calculating 
it on the fly is suicidally slow.

-- 
Martijn

Education is about knowing where to look for answers.
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to