@norwin Thanks. And yes, html (like db) is a global. Kitten favours ease of use so it does have a handful of commonly-used globals.
The html template function does handle escaping (there’s a raw() function you can call to pass unescaped content) and yes, that should be documented, thank you. I’ll open an issue for that now :)