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.

Source

Summary

encode_to_iodata!(body)

Encodes the HTML templates to iodata

Functions

encode_to_iodata!(body)

Encodes the HTML templates to iodata.

Source