fix in mail detection

This commit is contained in:
Nikos Kouremenos 2005-03-29 21:44:54 +00:00
parent 5ce8490927
commit 0b3553b8fe

View file

@ -487,14 +487,12 @@ class Chat:
self.plugin.emoticons[emot_ascii])
elif special_text.startswith('mailto:'):
#it's a mail
special_text = special_text[0:-1]
tags.append('mail')
use_other_tags = False
elif self.plugin.sth_at_sth_dot_sth_re.match(special_text):
#it's a mail
tags.append('mail')
use_other_tags = False
special_text = special_text[0:-1]
elif special_text.startswith('*'): # it's a bold text
tags.append('bold')
if special_text[1] == '/': # it's also italic