aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authortkikuchi <>2005-07-13 07:04:09 +0000
committertkikuchi <>2005-07-13 07:04:09 +0000
commit01468e7eae8d44d740edcf2dbaa2d1575c02c7a7 (patch)
treef97fc85a36ad697da873287db5a43b933bf828e3 /Mailman/Defaults.py.in
parent31559396f740d6c2bea564db473776e48b5f1b61 (diff)
downloadmailman2-01468e7eae8d44d740edcf2dbaa2d1575c02c7a7.tar.gz
mailman2-01468e7eae8d44d740edcf2dbaa2d1575c02c7a7.tar.xz
mailman2-01468e7eae8d44d740edcf2dbaa2d1575c02c7a7.zip
Introduce new attribute (collapse_alternatives) to allow HTML in
multipart/alternative message after content filtering.
Diffstat (limited to 'Mailman/Defaults.py.in')
-rw-r--r--Mailman/Defaults.py.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index dd73fc4e..f1c09b81 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -985,6 +985,9 @@ DEFAULT_FILTER_FILENAME_EXTENSIONS = [
# passed through. Format is the same as DEFAULT_FILTER_FILENAME_EXTENSIONS.
DEFAULT_PASS_FILENAME_EXTENSIONS = []
+# Replace multipart/alternative with its first alternative.
+DEFAULT_COLLAPSE_ALTERNATIVES = Yes
+
# Whether text/html should be converted to text/plain after content filtering
# is performed. Conversion is done according to HTML_TO_PLAIN_TEXT_COMMAND
DEFAULT_CONVERT_HTML_TO_PLAINTEXT = Yes