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

Initial protocol based off of Phoenix.HTML.Safe

Link to this section Summary

Functions

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

Link to this section Types

@type t() :: term()

Link to this section 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.