Peter
08/15/2023, 1:06 PMkotlinx-html
with HTMX
and struggling a bit to nicely return (a wellformed) snippet. So far my solutions feel like a hack with some additional string manipulation.
So for example I want to return single parent “DIV” with some children (and not a BODY or HTML tag). What would be the idiomatic way to achieve this in a standard ktor route handler (PipelineContext)?
TIA!!