Thanks for that. We're on cpanel, so I assume we can't adjust ARCHIVE_HTML_SANITIZER?
I'm not sure we need html emails to come through as html, but we at least want plain text, not a link to a messed up html message. > -----Original Message----- > From: Mailman-Users > [mailto:mailman-users-bounces+pshute=nuw.org...@python.org] > On Behalf Of Mark Sapiro > Sent: Wednesday, 13 August 2014 10:01 AM > To: mailman-users@python.org > Subject: Re: [Mailman-Users] Scrub_nondigest removing html > message text > > On 08/12/2014 03:33 PM, Peter Shute wrote: > > We've discovered that if scrub_nondigest is set to Yes, the > text of html messages (perhaps html-only?) is removed and > replaced with a link to it. When users follow the link, the > html tags in the text are visible because the angle brackets > have been replaced with html codes. > > > > Is there a way to prevent scrub_nondigest removing these > message parts? Is there a way to at least stop the angle > brackets getting converted to codes? > > > This is at least partially controlled by the > ARCHIVE_HTML_SANITIZER setting. Read the documentation for > this setting in Mailman/Defaults.py and if you want to change > it from the default, set it in Mailman/mm_cfg.py. > > The real issue is that scrub_nondigest is something of an > afterthought for people who want non-text/plain attachments > to list posts removed and replaced by links. > > The scrubber's purpose is to flatten the message to a single > text/plain part for the list's archive and the plain format > digest. Thus, if you want an HTML part rendered as HTML > rather than a plain text representation of the HTML source, > you need to set ARCHIVE_HTML_SANITIZER = 3 which will save > the HTML part aside and replace it by a link, but be sure to > read the comment about this setting in Defaults.py. > > You can set ARCHIVE_HTML_SANITIZER = 2 which will leave the > HTML inline, but it will be in a text/plain message and HTML-escaped. > > -- > Mark Sapiro <m...@msapiro.net> The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users@python.org > https://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: > http://wiki.list.org/x/QIA9 Searchable Archives: > http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: > https://mail.python.org/mailman/options/mailman-users/pshute%4 0nuw.org.au > ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org