diff options
| -rw-r--r-- | Mailman/HTMLFormatter.py | 7 | ||||
| -rw-r--r-- | modules/mm_html.py | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py index 83b57dd9c..79322d9a7 100644 --- a/Mailman/HTMLFormatter.py +++ b/Mailman/HTMLFormatter.py @@ -49,8 +49,13 @@ class HTMLFormatter: def FormatOneUser(person, me=self): import htmlformat, os + id = mm_utils.ObscureEmail(person) + if me.obscure_addresses: + showing = mm_utils.ObscureEmail(person, for_text=1) + else: + showing = person return htmlformat.Link(os.path.join(me.GetScriptURL('options'), - person), person) + id), showing) items = map(FormatOneUser, people) # Just return the .Format() so this works until I finish # converting everything to htmlformat... diff --git a/modules/mm_html.py b/modules/mm_html.py index 83b57dd9c..79322d9a7 100644 --- a/modules/mm_html.py +++ b/modules/mm_html.py @@ -49,8 +49,13 @@ class HTMLFormatter: def FormatOneUser(person, me=self): import htmlformat, os + id = mm_utils.ObscureEmail(person) + if me.obscure_addresses: + showing = mm_utils.ObscureEmail(person, for_text=1) + else: + showing = person return htmlformat.Link(os.path.join(me.GetScriptURL('options'), - person), person) + id), showing) items = map(FormatOneUser, people) # Just return the .Format() so this works until I finish # converting everything to htmlformat... |
