Phoenix v1.4.3 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

Encodes the HTML templates to iodata.