fix in mail detection
This commit is contained in:
parent
5ce8490927
commit
0b3553b8fe
1 changed files with 0 additions and 2 deletions
|
@ -487,14 +487,12 @@ class Chat:
|
||||||
self.plugin.emoticons[emot_ascii])
|
self.plugin.emoticons[emot_ascii])
|
||||||
elif special_text.startswith('mailto:'):
|
elif special_text.startswith('mailto:'):
|
||||||
#it's a mail
|
#it's a mail
|
||||||
special_text = special_text[0:-1]
|
|
||||||
tags.append('mail')
|
tags.append('mail')
|
||||||
use_other_tags = False
|
use_other_tags = False
|
||||||
elif self.plugin.sth_at_sth_dot_sth_re.match(special_text):
|
elif self.plugin.sth_at_sth_dot_sth_re.match(special_text):
|
||||||
#it's a mail
|
#it's a mail
|
||||||
tags.append('mail')
|
tags.append('mail')
|
||||||
use_other_tags = False
|
use_other_tags = False
|
||||||
special_text = special_text[0:-1]
|
|
||||||
elif special_text.startswith('*'): # it's a bold text
|
elif special_text.startswith('*'): # it's a bold text
|
||||||
tags.append('bold')
|
tags.append('bold')
|
||||||
if special_text[1] == '/': # it's also italic
|
if special_text[1] == '/': # it's also italic
|
||||||
|
|
Loading…
Add table
Reference in a new issue