Small Elixir library for encoding and decoding HTML entities.
Find a file
2015-04-18 12:51:02 +03:00
lib Rewrite ExCoder for 0.15, use tail call recursion 2014-08-06 20:02:25 +03:00
test Rewrite ExCoder for 0.15, use tail call recursion 2014-08-06 20:02:25 +03:00
.gitignore Add .gitignore 2013-11-25 21:36:48 +02:00
mix.exs Update for 1.0 2015-04-18 12:51:02 +03:00
README.md Rewrite ExCoder for 0.15, use tail call recursion 2014-08-06 20:02:25 +03:00

ExCoder is a small Elixir library for encoding and decoding HTML entities. I decided to write it because I needed to decode HTML entities (without caring about the mess of parsing HTML) and I did not want to use a full XML library from the Erlang side.

ExCoder supports both decoding named and numbered HTML entities. Encoding will use named entities where possible and fall back to hexadecimal encoded entities.