[ mailman-Bugs-759842 ] Formatting archives that don't have newlines

SourceForge.net noreply at sourceforge.net
Thu Jul 17 07:28:31 EDT 2003


Bugs item #759842, was opened at 2003-06-24 16:23
Message generated for change (Comment added) made by karem_lore
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=759842&group_id=103

Category: Pipermail
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Pug Bainter (phelim_gervase)
Assigned to: Nobody/Anonymous (nobody)
Summary: Formatting archives that don't have newlines

Initial Comment:
I have a problem (mostly with M$ Outlook users) that
when a user sends a message without newlines in it
(because their email client auto-displays it "properly"
for them), the message gets stored just like this in
the archives as expected. The problem is that when the
message gets pulled up in the webpages, they will
appear as one long line instead of being formatted to
the size of the browser width.


----------------------------------------------------------------------

Comment By: Anthony Carter (karem_lore)
Date: 2003-07-17 15:28

Message:
Logged In: YES 
user_id=201573

Right, well removing the <PRE></PRE> tags in the file

$mailman/Mailman/Archiver/HyperArch.py

does not fix the problem. In fact, it makes it worse.
However, I have yet to see if it is possible to substitute
it with a tag that will dictate the width of the text.

Will keep you posted.

Anthony

----------------------------------------------------------------------

Comment By: Anthony Carter (karem_lore)
Date: 2003-07-17 15:19

Message:
Logged In: YES 
user_id=201573

I notice that the archiver uses a <PRE> and </PRE> around
the article (from mailmanhome/templates/en/article.html. The
PRE tag says that no formatting should occur as it is
preformatted...I wonder what would happen if that PRE
disappeared somehow...

the text comes from whatever defines %(body)s in the Python
code somewhere. This mus also defines the PRE tag as it is
not in the template.

Anthony

----------------------------------------------------------------------

Comment By: Anthony Carter (karem_lore)
Date: 2003-07-17 15:06

Message:
Logged In: YES 
user_id=201573

Yep, I have this too. Did you get any possible resolution to
this?

I guess it should not be too difficult to add this
functionality (maybe within the mail2html part of the
conversion) to add a limit on width (I think there may be a
HTML possibility to enforce this). I don't know python,
unfortunately, to go trapsing through the mailman code.

I'll take a look though...

Anthony Carter

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=759842&group_id=103



More information about the Mailman-coders mailing list