kotlinx.html
kotlinx.html copied to clipboard
<a> tag is missing 'name' attribute
The tag should have a 'name' attribute: https://www.w3schools.com/tags/att_a_name.asp
@HtmlTagMarker
fun FlowOrInteractiveOrPhrasingContent.a(
href: String? = null,
target: String? = null,
classes: String? = null,
name: String? = null,
block: A.() -> Unit = {}
): Unit = A(attributesMapOf(
"href", href,
"target", target,
"class", classes,
"name", name), consumer)
.visit(block)
@cy6erGn0m Are you accepting PRs?
Any update on this?
@e5l The name attribute has been deprecated, so this issue should be closed.