kotlinx.html icon indicating copy to clipboard operation
kotlinx.html copied to clipboard

Kotlin DSL for HTML

Results 110 kotlinx.html issues
Sort by recently updated
recently updated
newest added

When creating custom components, it's very easy to get attributes and tag properties in the wrong order, which leads you to run into: ``` java.lang.IllegalStateException: You can't change tag attribute...

Specifically, `org.xml.sax.SAXParseException; The element type "link" must be terminated by the matching end-tag "".` --- **Expected**: `kotlinx.html` can receive unclosed `` tags in the `` element. **Actual**: The `` element,...

It's pretty barebones: https://github.com/Kotlin/kotlinx.html/wiki/Micro-templating-and-DSL-customizing How do we add custom attributes? StringAttribute exists and seems to be the thing, but there are no examples of how to use it, and no...

This plugin works 90% of the way, but isn't quite right. It's no longer maintained. Please make it an official part of the kotlinx.html project, as it significantly cuts down...

Attribute value: ``` This \& that: \u003d ``` Expected result: ``` data-test="This & that: \u003d" ``` Actual result (notice missing `\`): ``` data-test="This & that: u003d" ``` Version affected: 0.10.0.

Are there options for the HTML Generation with a Appendable? I looking for a solution to solve the following: - When writing HTML to a File (with Appendable.appendHTML()) are there...

Some APIs like `onChangeFunction` uses `org.w3c.dom.events.Event` while some APIs like `onTagEvent` uses `kotlinx.html.org.w3c.dom.events.Event`. It makes using both APIs in the same code hard.

We've migrated a significant number of HTML+Groovy templates over the Kotlinx.html. The DSL in fantastic! We're super happy developers using it... until we compile. As mentioned in [this issue](https://youtrack.jetbrains.com/issue/KT-51416/Compilation-of-kotlinx-html-DSL-should-still-be-faster) the...

Hi all, Unless I have overlooked a configuration possibility, it would be really nice to globally get rid of empty attributes. And maybe trim the strings inside attributes as well,...

The `FlowOrHeadingContent.h1` method can accept `class` as an argument, but not other parameters. In general, we want to pass through all or most parameters unchanged. The ideal syntax that maintains...