On 10:30 AM 4/12/2004, [EMAIL PROTECTED] wrote:
The messages in archives don't wrap, so a line of text runs way off the screen. I've removed all content filtering commands, as well as disabling content filtering, but it still happens.

When I was looking at this it seemed to me it should be possible to write a script that reads in the message character by character and inserts line breaks as needed. I never went so far as to try it.


The dirty work around it to put the messages into a form text box. This forces a wrap, but it kills the effects of the <pre> tags, which renders URLs unclickable. It also means the pre tag shows up in the message, although this can be removed by hacking the code a bit. For my lists putting the messages in a form box was the best fix. To do this on a list by list basis, you copy the article.html template into /<prefix>/mailman/lists/<listname>/en (assuming English) then modify:

<!--beginarticle-->
++ <form><TEXTAREA ROWS="24" COLS="90">
 %(body)s
++ </TEXTAREA></form>
<!--endarticle-->

Set the text area as you see fit. A width of 90 fits even smaller screens, and will not cut up messages sent with proper line wraps.

<>< Paul



------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to