diff options
author | Filip Zybała <fzybala@virtuslab.com> | 2020-06-04 09:05:38 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-06-09 15:51:39 +0200 |
commit | 902b670bc764a6db4f49f96d08f2115dd08bdf9b (patch) | |
tree | f693f8552452688210743bebc4fa584c7de2a5b9 /plugins/base/src/main/kotlin | |
parent | 4346d4f45bff017df0135dc3c914db74c8795041 (diff) | |
download | dokka-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.kt | 2 |
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() } |