diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Model/DocumentationContent.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Model/DocumentationContent.kt b/src/Model/DocumentationContent.kt index ee91aed3..d3826434 100644 --- a/src/Model/DocumentationContent.kt +++ b/src/Model/DocumentationContent.kt @@ -62,7 +62,7 @@ fun String.parseLabel(index: Int): Pair<String, Int> { } c == '{' -> { val end = indexOf('}', index + 1) - return substring(index, end) to index + 2 + return substring(index + 1, end) to end + 2 } } return "" to -1 |