Phoenix v1.4.6 Phoenix.Template.HTML View Source
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.
Link to this section Summary
Functions
Encodes the HTML templates to iodata.
Link to this section Functions
Link to this function
encode_to_iodata!(body) View Source
Encodes the HTML templates to iodata.