Phoenix.HTML.Engine
This is an implementation of EEx.Engine that guarantees templates are HTML Safe.
The encode_to_iodata!/1
function converts the rendered template result into iodata.
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_html/Phoenix.HTML.Engine.html