------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Summary: wrong direction for some BIDI articles
Platform: Compiled Sources
AssignedTo: akregator-devel lists sourceforge net
ReportedBy: cuco3001 yahoo com
Version: (using KDE KDE 3.3.91)
Installed from: Compiled From Sources
First all, nice work. This app took me by surprice, really. It has a generally good BIDI support, it may be since you stolled many code lines from kmail :)
..any way, to the bug.
If a feed starts with an RTL letter, it will be aligned to the right. It's done utins QString::isRightToLeft(). However, when a feed starts with an HTML tag, this assumtion falls since you are actually checking the text of the feed, and not the feed itself.
What needs to be done, is generate a function that retrives only the text from a feed, and use that as a base to auto-detect the direction of the text.
JFYI, some sites are adding '<div dir=rtl> %feed% </div>' tags, just in case, in those sites the feed will be displayed quite good even without any tricks. Just in case, we need to cover all problems no?
Is a screen shot or sample feed really needed? say yes if you do.