HtmlEntities v0.2.2 HtmlEntities

Decode HTML entities in a string.

Examples

iex> "Tom & Jerry" |> HtmlEntities.decode
"Tom & Jerry"
iex> "¡Ay, caramba!" |> HtmlEntities.decode
"¡Ay, caramba!"
iex> "ő ő" |> HtmlEntities.decode
"ő ő"

Summary

Functions

Decode HTML entities in a string

Functions

decode(string)

Specs

decode(String.t) :: String.t

Decode HTML entities in a string.