From 902b670bc764a6db4f49f96d08f2115dd08bdf9b Mon Sep 17 00:00:00 2001 From: Filip ZybaƂa Date: Thu, 4 Jun 2020 09:05:38 +0200 Subject: Changed anchors handling to work properly with tabs --- plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src/main/kotlin') 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() } -- cgit