Skip to content

Commit 71f685c

Browse files
committed
[IMP] base,all: remove deprecated 't-raw' ir.qweb directive
task-4461090
1 parent 3cf3613 commit 71f685c

File tree

1 file changed

+0
-21
lines changed
  • content/developer/reference/frontend

1 file changed

+0
-21
lines changed

content/developer/reference/frontend/qweb.rst

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -389,27 +389,6 @@ to a normal string to "strip" the safety flag e.g. `str(content)` in Python and
389389
escaped, while in Javascript will yield a :js:class:`String` where the
390390
other operand was *not* escaped before the concatenation.
391391

392-
Deprecated output directives
393-
----------------------------
394-
395-
.. rst-class:: o-definition-list
396-
397-
``esc``
398-
An alias for ``out``, would originally HTML-escape its input. Not yet
399-
formally deprecated as the only difference between ``out`` and ``esc`` is
400-
that the latter is a bit unclear / incorrect.
401-
``raw``
402-
A version of ``out`` which *never* escapes its content. Content is emitted
403-
as-is, whether it's safe or not.
404-
405-
.. deprecated:: 15.0
406-
407-
Use ``out`` with a :class:`markupsafe.Markup` value instead.
408-
409-
``t-raw`` was deprecated because as the code *producting* the content
410-
evolves it can be hard to track that it's going to be used for markup,
411-
leading to more complicated reviews and more dangerous lapses.
412-
413392
Python
414393
======
415394

0 commit comments

Comments
 (0)