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 Parsing Severity:  2 - Minor
Priority:  1 - Later Item Group:  Incorrect Behavior
Status:  Need Info Privacy:  Public
Assigned to:  None Open/Closed:  Open
Operating System:  All Perl Version:  5.8.4
Component Version:  2.6.10-1 Fixed 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:

http://cvs.drupal.org/viewvc.py/drupal/contributions/sandbox/msameer/modules/bidi/

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
indicators?

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

http://www.mail-archive.com/doc@arabeyes.org/msg05948.html

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
  • -email is unavailable- added by ehood (Posted a comment)
  • -email is unavailable- added by jab (Posted a comment)
  • -email is unavailable- added by chahibi (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-03 ehood Priority5 - Normal => 1 - Later
    2011-01-02 ehood Severity3 - Normal => 2 - Minor
        StatusNone => Need Info

    Back to the top


    Powered by Savane 3.3