From 71f685ce61270cbde73dd73b521dcc11c084328c Mon Sep 17 00:00:00 2001 From: Gorash Date: Thu, 2 Oct 2025 15:18:55 +0200 Subject: [PATCH] [IMP] base,all: remove deprecated 't-raw' ir.qweb directive task-4461090 --- content/developer/reference/frontend/qweb.rst | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/content/developer/reference/frontend/qweb.rst b/content/developer/reference/frontend/qweb.rst index 38c51ac09f..f57346c419 100644 --- a/content/developer/reference/frontend/qweb.rst +++ b/content/developer/reference/frontend/qweb.rst @@ -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 ======