Protocol for objects that are safe to render in an SGML context.
Objects implementing this protocol must provide a to_safe_string/1 function
that returns a string representation that is safe to output without escaping.
Example
defimpl Phlex.SGML.SafeObject, for: MySafeType do
def to_safe_string(value), do: value.content
end
Summary
Functions
Converts a safe object to a safe string representation.
Types
@type t() :: term()
All the types that implement this protocol.