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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部