Skip to content
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
21 changes: 0 additions & 21 deletions content/developer/reference/frontend/qweb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -389,27 +389,6 @@ to a normal string to "strip" the safety flag e.g. `str(content)` in Python and
escaped, while in Javascript will yield a :js:class:`String` where the
other operand was *not* escaped before the concatenation.

Deprecated output directives
----------------------------

.. rst-class:: o-definition-list

``esc``
An alias for ``out``, would originally HTML-escape its input. Not yet
formally deprecated as the only difference between ``out`` and ``esc`` is
that the latter is a bit unclear / incorrect.
``raw``
A version of ``out`` which *never* escapes its content. Content is emitted
as-is, whether it's safe or not.

.. deprecated:: 15.0

Use ``out`` with a :class:`markupsafe.Markup` value instead.

``t-raw`` was deprecated because as the code *producting* the content
evolves it can be hard to track that it's going to be used for markup,
leading to more complicated reviews and more dangerous lapses.

Python
======

Expand Down