houdini
🪄 Fast HTML escaping
gleam add houdini@1
Use houdini.escape
to escape any string to be safely used inside an HTML
document:
import houdini
pub fn main() -> Nil {
let assert "wibble & wobble" = houdini.escape("wibble & wobble")
let assert "wibble > wobble" = houdini.escape("wibble > wobble")
}