diff options
author | Yves Senn <yves.senn@gmail.com> | 2012-11-13 22:02:41 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2012-11-19 21:19:53 +0100 |
commit | 1d07d3d8105efdede4299a491035a980f7778049 (patch) | |
tree | 96deee30602aff3b8bc4dd90a83475fcfb1deb5b /actionpack/CHANGELOG.md | |
parent | 60790e852a4f349c424a7504d85f9521e13e611e (diff) | |
download | rails-1d07d3d8105efdede4299a491035a980f7778049.tar.gz rails-1d07d3d8105efdede4299a491035a980f7778049.tar.bz2 rails-1d07d3d8105efdede4299a491035a980f7778049.zip |
render every partial with a new `PartialRenderer`.
This resolves issues when rendering nested partials.
Previously the `PartialRenderer` was reused which led to
situations where the state of the renderer was reset.
Closes #8197
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 1ebc75ed2f..0f1e1f303f 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,5 +1,11 @@ ## Rails 4.0.0 (unreleased) ## +* Render every partial with a new `ActionView::PartialRenderer`. This resolves + issues when rendering nested partials. + Fix #8197 + + *Yves Senn* + * Introduce `ActionView::Template::Handlers::ERB.escape_whitelist`. This is a list of mime types where template text is not html escaped by default. It prevents `Jack & Joe` from rendering as `Jack & Joe` for the whitelisted mime types. The default whitelist |