Skip to content

Docs for escape cleanup. #8018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 6.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions en/appendices/6-0-migration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,13 @@ Utility
- The default placeholder format for ``Text::insert()`` has been changed.
They now use ``{foo}`` instead of ``:foo``. You can get the old
behavior by using the ``before`` and ``after`` keys of ``$options``.

View
----

- ``'escape'``/``'escapeTitle'`` keys have now been separated cleanly into ``escape`` for escaping content/labels, and
``'escapeAttributes'`` for HTML attributes respectively. They also don't overlap anymore, so if you need to prevent escaping
on content and attributes, make sure to set them both to false.
- ``title`` has been renamed to ``content`` in scopes where this is not an attribute, but content or label element, specifically:
``'item'``/``itemWithoutLink`` breadcrumb templates.
- ``multicheckboxTitle`` template of FormHelper is now ``multicheckboxLabel``.
Loading