Use 'div id' instead of 'a name'
diff --git a/core/src/main/kotlin/Formats/JavaLayoutHtmlFormat.kt b/core/src/main/kotlin/Formats/JavaLayoutHtmlFormat.kt
index f8f65bb..67e6828 100644
--- a/core/src/main/kotlin/Formats/JavaLayoutHtmlFormat.kt
+++ b/core/src/main/kotlin/Formats/JavaLayoutHtmlFormat.kt
@@ -136,6 +136,7 @@
private fun FlowContent.fullFunctionDocs(node: DocumentationNode) {
div {
+ id = node.signature()
h3 { +node.name }
pre { renderedSignature(node, FULL) }
metaMarkup(node.content)
@@ -155,7 +156,6 @@
}
}
}
- a { id = node.signature() }
}
fun appendPackage(node: DocumentationNode) = templateService.composePage(