[bug #32665] allow message display to wrap (simple HTML change)

2011-03-02 23:28:33

                 Summary: allow message display to wrap (simple HTML change)
                 Project: MHonArc
            Submitted by: skierpage
            Submitted on: Thu 03 Mar 2011 05:32:25 AM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Undesired Behavior
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Linux
            Perl Version: unknown
       Component Version: 2.6.18
           Fixed Release: 



I browse the archives of mailing lists created by MHonArc.
Many messages to mailing lists that use its ASCII preformatted display are not
word-wrapped and so each paragraph appears as a few unreadably long lines in
all browsers. See for example , ,

The fix is easy, just change the PRE tag to invoke the CSS white-space
 <pre style="white-space: pre-wrap"> 
I'm not positive but this might be line 557 in lib/, change 

-             $$data = '<pre>' . $$data . '</pre>';
+             $$data = '<pre style="white-space: pre-wrap">' . $$data .

This _does not_ affect copy and paste of long lines and does not involve
processing or changing the text within the pre tag in any way. It just makes
many more messages readable!

Mailman had the same bug and has incorporated this bug fix for some time, see 

Earlier bug #13276: "Archive of mail lists does not text wrap in the Browser"
seems to refer to the same issue. It was closed as Not a Bug with the comment
"MHonArc provides options to deal with mis-behaved MUA's that do not properly
format text messages."  I'm not familiar with MHonArc admin, but this pre
style fixes the problem with no downside.


Reply to this item at:


  Message sent via/by Savannah

To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the

<Prev in Thread] Current Thread [Next in Thread>