How do you translate this, specifically that attri...
# kotlinx-html
r
How do you translate this, specifically that attribute with no value?
Copy code
<link rel="preconnect" href="<https://fonts.gstatic.com>" crossorigin>
This guess doesn't work (crossorigin is not a parameter).
Copy code
link(rel="preconnect", href="<https://fonts.gstatic.com>", crossorigin=true)
t
Something like this should work:
Copy code
link(rel="preconnect", href="<https://fonts.gstatic.com>") {
    attributes["crossorigin"] = ""
}
👍 1