Removed highlighting of email(mailto:) urls

This commit is contained in:
Maxim Mossienko
2005-03-21 14:03:17 +03:00
parent b8e92f83ac
commit ea04cdf10c
+1 -1
View File
@@ -177,7 +177,7 @@ public class HtmlUtil {
if (text.charAt(0) == '"' || text.charAt(0) == '\'') ++offset;
text = text.substring(offset,text.length() - offset);
if (text.indexOf("http://") == -1) {
if (text.indexOf("http://") == -1 && text.indexOf("mailto:") == -1) {
refs = new FileReferenceSet(text, element, offset, ReferenceType.FILE_TYPE, this).getAllReferences();
} else {
refs = PsiReference.EMPTY_ARRAY;