don't parse links which aren't Kotlin identifiers and have an explicitly specified destination

This commit is contained in:
Dmitry Jemerov
2015-02-04 19:17:22 +01:00
parent 1ab51a08aa
commit 56d85c2033
5 changed files with 132 additions and 97 deletions
+4
View File
@@ -0,0 +1,4 @@
/**
* [Kotlin](http://kotlinlang.org) is made by [JetBrains][1]
* [1]: http://www.jetbrains.com/
*/
+14
View File
@@ -0,0 +1,14 @@
JetFile: HttpLink.kt
PACKAGE_DIRECTIVE
<empty list>
KDoc
PsiElement(KDOC_START)('/**')
PsiWhiteSpace('\n ')
KDOC_SECTION
PsiElement(KDOC_LEADING_ASTERISK)('*')
PsiElement(KDOC_TEXT)(' [Kotlin](http://kotlinlang.org) is made by [JetBrains][1]')
PsiWhiteSpace('\n ')
PsiElement(KDOC_LEADING_ASTERISK)('*')
PsiElement(KDOC_TEXT)(' [1]: http://www.jetbrains.com/')
PsiWhiteSpace('\n ')
PsiElement(KDOC_END)('*/')