Small Elixir library for encoding and decoding HTML entities.
Find a file
Mikko Ahlroth 5990f698fe Many new improvements, bump version to 1.1.0.
* Refactor numeric decode regex to module attribute, avoid recreating it with
  every call.
* Use character table also when encoding. This results in some compile warns,
  but the code works as expected. Removing the warnings is for TODO.
* Bump elixir version to 0.11.x
* Write tests for encoding and decoding
2013-11-25 21:34:39 +02:00
lib Many new improvements, bump version to 1.1.0. 2013-11-25 21:34:39 +02:00
test Many new improvements, bump version to 1.1.0. 2013-11-25 21:34:39 +02:00
mix.exs Many new improvements, bump version to 1.1.0. 2013-11-25 21:34:39 +02:00
README.md Fix readme 2013-08-23 07:21:03 +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 always use the hexadecimal numbered format.