[Mailman-Users] Digest attachment links have <tt>

Mark Sapiro msapiro at value.net
Fri Sep 28 01:47:10 CEST 2007


Steven Stern wrote:
>
>Clicking on the "an attachment was scrubbed" links in a digest email
>results in seeing the page as source.  The first line of each page is
><tt>. Is there a way to get rid of this <tt>?


You could experiment with setting

ARCHIVE_HTML_SANITIZER = 2

in mm_cfg.py and restarting Mailman. This will leave the text/html
parts in the (plain) digest, but since they will just be pieces of the
text/plain digest, you will see source html text, not rendered html,
but it won't be 'prettied' with <tt> tags, <br> tags, tab expansion,
and spaces replaced with &nbsp;.

This will also affect the list archive in the same way.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list