Packages
phoenix_html
2.4.0-dev
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
Security advisory:
This version has known vulnerabilities.
View advisories
Current section
Files
Jump to
Current section
Files
phoenix_html
CHANGELOG.md
CHANGELOG.md
# Changelog
## v2.4.0 (2016-01-21)
* Enhancements
* Add `rel=nofollow` auto generation for non-get links
* Introduce `:selected` option for `select` and `multiple_select`
* Bug fixes
* Fix safe engine incorrectly marking safe code as unsafe when last expression is `<% ... %>`
## v2.3.0 (2015-12-16)
* Enhancements
* Add `escape_javascript/1`
* Add helpful error message when using unknown `@inner` assign
* Add `Phoenix.HTML.Format.text_to_html/2`
## v2.2.0 (2015-09-01)
* Bug fix
* Allow the `:name` to be given in forms. For this, using `:name` to configure the underlying input name prefix has been deprecated in favor of `:as`
## v2.1.2 (2015-08-22)
* Bug fix
* Do not include values in `password_input/3`
## v2.1.1 (2015-08-15)
* Enhancements
* Allow nil in `raw/1`
* Allow block options in `label/3`
* Introduce `:skip_deleted` in `inputs_for/4`
## v2.1.0 (2015-08-06)
* Enhancements
* Add an index field to forms to be used by `inputs_for/4` collections
## v2.0.1 (2015-07-31)
* Bug fix
* Include web directory in Hex package
## v2.0.0 (2015-07-30)
* Enhancements
* No longer generate onclick attributes.
The main motivation for this is to provide support
for Content Security Policy, which recommends
disabling all inline scripts in a page.
We took the opportunity to also add support for
data-confirm in `link/2`.
## v1.4.0 (2015-07-26)
* Enhancements
* Support `input_type/2` and `input_validations/2` as reflection mechanisms
## v1.3.0 (2015-07-23)
* Enhancements
* Add `Phoenix.HTML.Form.inputs_for/4` support
* Add multiple select support
* Add reset input
* Infer default text context for labels
## v1.2.1 (2015-06-02)
* Bug fix
* Ensure nil parameters are not discarded when rendering input
## v1.2.0 (2015-05-30)
* Enhancements
* Add `label/3` for generating a label tag within a form
## v1.1.0 (2015-05-20)
* Enhancements
* Allow do/end syntax with `link/2`
* Raise on missing assigns
## v1.0.1
* Bug fixes
* Avoid variable clash in Phoenix.HTML engine buffers
## v1.0.0
* Enhancements
* Provides an EEx engine with HTML safe rendering
* Provides a `Phoenix.HTML.Safe` protocol
* Provides a `Phoenix.HTML.FormData` protocol
* Provides functions for generating tags, links and form builders in a safe way