mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Removed highlighting of email(mailto:) urls
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user