houdini

Package Version Hex Docs

🪄 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" = escape("wibble & wobble")
  let assert "wibble > wobble" = escape("wibble > wobble")
}
Search Document