bugMHonArc - Bugs: bug #19142, Right-to-left paragraphs not...


You are not allowed to post comments on this tracker with your current authentication level.

bug #19142: Right-to-left paragraphs not aligned to the right

Submitted by:  Youssef Chahibi <chahibi>
Submitted on:  Sun 25 Feb 2007 03:18:08 AM UTC  
Category: Mail ParsingSeverity: 2 - Minor
Priority: 1 - LaterItem Group: Incorrect Behavior
Status: Need InfoPrivacy: Public
Assigned to: NoneOpen/Closed: Open
Operating System: AllPerl Version: 5.8.4
Component Version: 2.6.10-1Fixed Release: 

Sun 02 Jan 2011 10:31:14 AM UTC, comment #3:

At this time, I think this will only get addressed with
a contributed patch.

Looking at the drupal url provided for doing bidi, it
appears to be Unicode based, but mhonarc deals with
a variety of character encodings, so something that is
just unicode based would not be sufficient.

If bidi check is to be done, a decision has to be made
on which media-types it would be applicable for. All
text types? Or just plain since HTML data should probably
be tagged/encoded correctly already.

Earl Hood <ehood>
Project Administrator
Tue 31 Jul 2007 11:03:19 AM UTC, comment #2:

I hope this piece of code can help you:


Youssef Chahibi <chahibi>
Mon 30 Jul 2007 02:48:29 AM UTC, comment #1:

I'm interested in right-to-left as well, but how would the
parser detect that the paragraph is RTL? Is the only way to
do this by analyzing the character set or are there other

And if it is by character set, can web browsers be set to
do this automatically (or through use of a special CSS file?)


Jeff Breidenbach <jab>
Sun 25 Feb 2007 03:18:08 AM UTC, original submission:

I mean by right-to-left paragraphs, paragraphs that begin with an RTL character, or several bidi neutral characters followed by an RTL character. See http://www.unicode.org/reports/tr9/#Bidirectional_Character_Types .

Mhonarc doesn't align these paragraphs to the right (example: http://lists.arabeyes.org/archives/doc/2007/February/msg00070.html). The paragraphs are unreadable when they contain LTR characters.
The desired behavior is that the parser detects such paragraphs, and surround them with <div dir=rtl> and </div>. The paragraphs should be aligned against the right margin.

Youssef Chahibi <chahibi>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by ehood (Posted a comment)
  • -unavailable- added by jab (Posted a comment)
  • -unavailable- added by chahibi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Jan 2011 06:13:08 AM UTCehoodPriority5 - Normal=>1 - Later
    Sun 02 Jan 2011 10:31:14 AM UTCehoodSeverity3 - Normal=>2 - Minor
      StatusNone=>Need Info

    Back to the top

    Powered by Savane 3.1-cleanup1