Skip to content

Commit b131d36

Browse files
Docs for escape cleanup. (#8018)
* Docs for escape cleanup. * Remove 5.x migration guide --------- Co-authored-by: Mark Story <mark@mark-story.com>
1 parent cdd5336 commit b131d36

File tree

2 files changed

+10
-56
lines changed

2 files changed

+10
-56
lines changed

en/appendices/5-3-migration-guide.rst

Lines changed: 0 additions & 56 deletions
This file was deleted.

en/appendices/6-0-migration-guide.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,13 @@ Utility
5151
- The default placeholder format for ``Text::insert()`` has been changed.
5252
They now use ``{foo}`` instead of ``:foo``. You can get the old
5353
behavior by using the ``before`` and ``after`` keys of ``$options``.
54+
55+
View
56+
----
57+
58+
- ``'escape'``/``'escapeTitle'`` keys have now been separated cleanly into ``escape`` for escaping content/labels, and
59+
``'escapeAttributes'`` for HTML attributes respectively. They also don't overlap anymore, so if you need to prevent escaping
60+
on content and attributes, make sure to set them both to false.
61+
- ``title`` has been renamed to ``content`` in scopes where this is not an attribute, but content or label element, specifically:
62+
``'item'``/``itemWithoutLink`` breadcrumb templates.
63+
- ``multicheckboxTitle`` template of FormHelper is now ``multicheckboxLabel``.

0 commit comments

Comments
 (0)