Initial commit, still work in progress.
This commit is contained in:
commit
c0596d30ad
3 changed files with 2115 additions and 0 deletions
7
README.md
Normal file
7
README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
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 learn Erlang XML
|
||||
libraries.
|
||||
|
||||
ExCoder supports both decoding named and numbered HTML entities. Encoding will
|
||||
always use the decimal numbered format.
|
2087
lib/excoder.ex
Normal file
2087
lib/excoder.ex
Normal file
File diff suppressed because it is too large
Load diff
21
mix.exs
Normal file
21
mix.exs
Normal file
|
@ -0,0 +1,21 @@
|
|||
defmodule Excoder.Mixfile do
|
||||
use Mix.Project
|
||||
|
||||
def project do
|
||||
[ app: :excoder,
|
||||
version: "0.0.1",
|
||||
elixir: "~> 0.10.1-dev",
|
||||
deps: deps ]
|
||||
end
|
||||
|
||||
# Configuration for the OTP application
|
||||
def application do
|
||||
[]
|
||||
end
|
||||
|
||||
# Returns the list of dependencies in the format:
|
||||
# { :foobar, "0.1", git: "https://github.com/elixir-lang/foobar.git" }
|
||||
defp deps do
|
||||
[]
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue