Aino.View.Safe protocol (aino v0.7.0)

Initial protocol based off of Phoenix.HTML.Safe

Summary

Types

t()

All the types that implement this protocol.

Functions

Convert a value to a safe value for displaying to a user

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

to_iodata(value)

Convert a value to a safe value for displaying to a user

HTML values that are unexpected should be escaped.