Plug v1.3.6 Plug.HTML View Source
Conveniences for generating HTML.
Link to this section Summary
Functions
Escapes the given HTML
Link to this section Functions
Escapes the given HTML.
iex> Plug.HTML.html_escape("<foo>")
"<foo>"
iex> Plug.HTML.html_escape("quotes: \" & \'")
"quotes: " & '"