Phoenix.Template.HTML
The default HTML encoder that ships with Phoenix.
It expects {:safe, body}
as a safe response or
body as a string which will be HTML escaped.
Summary↑
encode_to_iodata!(body) | Encodes the HTML templates to iodata |
Functions
Encodes the HTML templates to iodata.