escapade - type assisted html safety
escapade is inspired by ActiveSupports SafeBuffer.
escapade provides String concatenation and writing, but automatically escapes any HTML in the data in the process. This prevents accidental unescaped writes to the output.
The library provides both a String type for HTML-safe concatenation and a writer, wrapping types implementing
The library works with any type that implements
An escaped string-like value
A wrapper for writer automatically escaping text written to it
Trait marking a value as appendable to
Marks values as escapable
Escaped writing to buffers