f34nk / tidy_ex

Elixir binding to the granddaddy of HTML tools
http://www.html-tidy.org/
GNU Lesser General Public License v2.1
9 stars 2 forks source link

Typo in application key #5

Open matiaslb opened 4 years ago

matiaslb commented 4 years ago

I believe the referenced line in this issue has a typo in it and should read :tidy_ex instead of :tidyt_ex (notice the extra t). This causes a warning to be thrown when attempting to configure options using Mix.Config, such as:

in config.exs

config :tidyt_ex,
  options: [
    {"TidyBodyOnly", "no"},
    {"TidyIndentContent", "true"}
  ]

Raises the following warning when evaluating the configs:

You have configured application :tidyt_ex in your configuration file,
but the application is not available.

This usually means one of:

  1. You have not added the application as a dependency in a mix.exs file.

  2. You are configuring an application that does not really exist.

Please ensure :tidyt_ex exists or remove the configuration.

https://github.com/f34nk/tidy_ex/blob/445986c0530cc55e7dbfe356740ca3bc1d2dade8/lib/tidy_ex.ex#L41