Packages
phoenix_html
3.0.3
4.3.0
4.2.1
4.2.0
4.1.1
4.1.0
4.0.0
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.0
3.1.0
3.0.4
3.0.3
retired
3.0.2
retired
3.0.1
retired
3.0.0
retired
2.14.3
2.14.2
2.14.1
2.14.0
2.13.4
2.13.3
2.13.2
2.13.1
2.13.0
2.12.0
2.11.2
2.11.1
2.11.0
2.10.5
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9.3
2.9.2
2.9.1
2.9.0
2.8.0
2.7.0
2.7.0-dev
2.6.2
2.6.1
2.6.0
2.5.1
2.5.0
2.4.0
2.4.0-dev
2.3.1
2.3.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
2.0.0-dev
1.4.0
1.3.0
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0
Phoenix view functions for working with HTML templates
Retired package: Security issue - The :class attribute in content_tag and in class={@class} for HEEx is not escaped against XSS
Security advisory:
This version has known vulnerabilities.
View advisories
Current section
Files
Jump to
Current section
Files
phoenix_html
mix.exs
mix.exs
defmodule PhoenixHtml.Mixfile do
use Mix.Project
# Also change package.json version
@version "3.0.3"
def project do
[
app: :phoenix_html,
version: @version,
elixir: "~> 1.7",
deps: deps(),
name: "Phoenix.HTML",
description: "Phoenix view functions for working with HTML templates",
package: package(),
docs: [
source_ref: "v#{@version}",
main: "Phoenix.HTML",
source_url: "https://github.com/phoenixframework/phoenix_html"
]
]
end
def application do
[
extra_applications: [:eex, :logger],
env: [csrf_token_reader: {Plug.CSRFProtection, :get_csrf_token_for, []}]
]
end
defp deps do
[
{:plug, "~> 1.5", optional: true},
{:ex_doc, ">= 0.0.0", only: :docs}
]
end
defp package do
[
maintainers: ["Chris McCord", "José Valim"],
licenses: ["MIT"],
links: %{github: "https://github.com/phoenixframework/phoenix_html"},
files: ~w(lib priv CHANGELOG.md LICENSE mix.exs package.json README.md)
]
end
end