Phoenix.Template.HTML
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
Functions
- encode_to_iodata!(body)
-
Encodes the HTML templates to iodata
Functions
encode_to_iodata!(body)
Encodes the HTML templates to iodata.
© 2014 Chris McCord
Licensed under the MIT License.
https://hexdocs.pm/phoenix/Phoenix.Template.HTML.html