aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/links
diff options
context:
space:
mode:
authoringo <ingo.kegel@ej-technologies.com>2016-01-06 13:39:54 +0100
committeringo <ingo.kegel@ej-technologies.com>2016-01-06 13:58:30 +0100
commitddd22fc7652f468f57c5a9dca380743eea53be5d (patch)
tree93bcf9670ff317e5450cbb501a5f4b091baf8463 /core/testdata/links
parent97b5672ae2ef645c53e9c783dc494860a1eed800 (diff)
downloaddokka-ddd22fc7652f468f57c5a9dca380743eea53be5d.tar.gz
dokka-ddd22fc7652f468f57c5a9dca380743eea53be5d.tar.bz2
dokka-ddd22fc7652f468f57c5a9dca380743eea53be5d.zip
Linking to a target with underscores did not work
For example, in a link like [MY_VALUE], the link would only try to resolve the text "MY" until the first underscore. Since the markdown parser parses the link label as [TEXT:MY, EMPH:_, TEXT:VALUE], using the first TEXT child node is not sufficient.
Diffstat (limited to 'core/testdata/links')
-rw-r--r--core/testdata/links/linkToConstantWithUnderscores.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/testdata/links/linkToConstantWithUnderscores.kt b/core/testdata/links/linkToConstantWithUnderscores.kt
new file mode 100644
index 00000000..57011bfa
--- /dev/null
+++ b/core/testdata/links/linkToConstantWithUnderscores.kt
@@ -0,0 +1,8 @@
+/**
+ * This is link to [MY_CONSTANT_VALUE]
+ */
+class Foo {
+ companion object {
+ val MY_CONSTANT_VALUE = 0
+ }
+} \ No newline at end of file