summaryrefslogtreecommitdiff
path: root/modules/mm_html.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mm_html.py')
-rw-r--r--modules/mm_html.py7
1 files changed, 6 insertions, 1 deletions
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...