aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin
diff options
context:
space:
mode:
authorFilip Zybała <fzybala@virtuslab.com>2020-06-04 09:05:38 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-06-09 15:51:39 +0200
commit902b670bc764a6db4f49f96d08f2115dd08bdf9b (patch)
treef693f8552452688210743bebc4fa584c7de2a5b9 /plugins/base/src/main/kotlin
parent4346d4f45bff017df0135dc3c914db74c8795041 (diff)
downloaddokka-902b670bc764a6db4f49f96d08f2115dd08bdf9b.tar.gz
dokka-902b670bc764a6db4f49f96d08f2115dd08bdf9b.tar.bz2
dokka-902b670bc764a6db4f49f96d08f2115dd08bdf9b.zip
Changed anchors handling to work properly with tabs
Diffstat (limited to 'plugins/base/src/main/kotlin')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
index 76a52a83..7ebcf00e 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -400,7 +400,7 @@ open class HtmlRenderer(
private fun FlowContent.withAnchor(anchorName: String?, content: FlowContent.() -> Unit) {
a {
- anchorName?.let { attributes["name"] = it }
+ anchorName?.let { attributes["data-name"] = it }
}
content()
}