mhonarc-dev

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

2011-03-02 23:28:33
URL:
  <http://savannah.nongnu.org/bugs/?32665>

                 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: 

    _______________________________________________________

Details:

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
http://mail.gnome.org/archives/gnome-shell-list/2011-February/msg00192.html ,
http://mail.gnome.org/archives/gnome-shell-list/2011-February/msg00225.html ,
etc.

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

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

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
https://bugs.launchpad.net/mailman/+bug/266467 

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:

  <http://savannah.nongnu.org/bugs/?32665>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV

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