aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/renderers
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
index ef5d78b6..07cba90c 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -844,7 +844,7 @@ val ContentNode.isAnchorable: Boolean
get() = anchorLabel != null
val ContentNode.anchorLabel: String?
- get() = extra[SymbolAnchorHint.SymbolAnchorHintKey]?.anchorName
+ get() = extra[SymbolAnchorHint]?.anchorName
val ContentNode.anchor: String
- get() = dci.dri.first().toString().urlEncoded()
+ get() = (dci.dri.first().toString() + "/" + extra[SymbolAnchorHint]?.contentKind + "/" + sourceSets.joinToString { it.sourceSetIDs.all.joinToString() }).urlEncoded()