[ET Trac] [Einstein Toolkit] #723: Archived emails to mailing lists are displayed without line-wrapping

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Jan 9 09:29:50 CST 2012


#723: Archived emails to mailing lists are displayed without line-wrapping
---------------------+------------------------------------------------------
  Reporter:  hinder  |       Owner:     
      Type:  defect  |      Status:  new
  Priority:  minor   |   Milestone:     
 Component:  Cactus  |     Version:     
Resolution:          |    Keywords:     
---------------------+------------------------------------------------------

Comment (by rhaas):

 The archive pages use {{{<PRE>}}} tags for the actual email. Some CSS can
 be used to wrap the line.

 http://labnol.blogspot.com/2006/10/html-css-trick-for-displaying-code.html

 I tried this with (a local copy of) Ian's email adding
 {{{
    <style type="text/css">
     pre {
     white-space: pre-wrap; /* css-3 */
     white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
     white-space: -pre-wrap; /* Opera 4-6 */
     white-space: -o-pre-wrap; /* Opera 7 */
     word-wrap: break-word; /* Internet Explorer 5.5+ */
     }
    </style>
 }}}
 to it's {{{<head>}}} section and it works fine with Firefox 3.6.24 on
 Linux.

 I have no idea how to include css styles in mailman/pipermails web pages
 though.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/723#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list