Plug.HTML
Conveniences for generating HTML.
Summary↑
html_escape(data) | Escapes the given HTML |
Functions
Escapes the given HTML.
iex> Plug.HTML.html_escape("<foo>")
"<foo>"
iex> Plug.HTML.html_escape("quotes: \" & \'")
"quotes: " & '"
Conveniences for generating HTML.
html_escape(data) | Escapes the given HTML |
Escapes the given HTML.
iex> Plug.HTML.html_escape("<foo>")
"<foo>"
iex> Plug.HTML.html_escape("quotes: \" & \'")
"quotes: " & '"