Mercurial > moin > 1.9
changeset 11:0f537d114a39
fix double icon when using MailTo macro
imported from: moin--main--1.5--patch-12
author | Thomas Waldmann <tw@waldmann-edv.de> |
---|---|
date | Fri, 23 Sep 2005 08:40:00 +0000 |
parents | 8959da92eda6 |
children | 13f4178d6c13 |
files | MoinMoin/wikimacro.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/wikimacro.py Fri Sep 23 08:37:43 2005 +0000 +++ b/MoinMoin/wikimacro.py Fri Sep 23 08:40:00 2005 +0000 @@ -534,9 +534,7 @@ if self.request.user.valid: # decode address and generate mailto: link email = decodeSpamSafeEmail(email) - icon = util.web.getLinkIcon(self.request, self.formatter, "mailto") result = (self.formatter.url(1, 'mailto:' + email, css='mailto', pretty_url=1, unescaped=1) + - icon + self.formatter.text(text or email) + self.formatter.url(0)) else: