From 92350c6a1457d64f9ce89e222709d47ada4240b1 Mon Sep 17 00:00:00 2001 From: Gorash Date: Thu, 25 Sep 2025 10:48:54 +0200 Subject: [PATCH] [IMP] base,all: remove deprecated 't-esc' ir.qweb directive --- content/administration/on_premise/geo_ip.rst | 2 +- .../howtos/standalone_owl_application.rst | 4 ++-- .../developer/reference/backend/security.rst | 4 ++-- content/developer/tutorials/web.rst | 18 +++++++++--------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/content/administration/on_premise/geo_ip.rst b/content/administration/on_premise/geo_ip.rst index 25d3c2f9f5..5fb9ce8bc6 100644 --- a/content/administration/on_premise/geo_ip.rst +++ b/content/administration/on_premise/geo_ip.rst @@ -47,7 +47,7 @@ request IP address. To do so: .. code-block:: xml -

+

#. Save and refresh the page. diff --git a/content/developer/howtos/standalone_owl_application.rst b/content/developer/howtos/standalone_owl_application.rst index 807b41fe29..880270d20a 100644 --- a/content/developer/howtos/standalone_owl_application.rst +++ b/content/developer/howtos/standalone_owl_application.rst @@ -117,9 +117,9 @@ Now that we have created our assets bundle, we need to create a diff --git a/content/developer/reference/backend/security.rst b/content/developer/reference/backend/security.rst index 0fea6bfa13..47d7c4f0d6 100644 --- a/content/developer/reference/backend/security.rst +++ b/content/developer/reference/backend/security.rst @@ -383,8 +383,8 @@ While formatting the template differently would prevent such vulnerabilities.
-
-
+
+
diff --git a/content/developer/tutorials/web.rst b/content/developer/tutorials/web.rst index ffc5cc4e33..dd24bcd983 100644 --- a/content/developer/tutorials/web.rst +++ b/content/developer/tutorials/web.rst @@ -613,7 +613,7 @@ with the template modified to: .. code-block:: xml -
Hello
+
Hello
will result in: @@ -631,7 +631,7 @@ essentially be that set up by :func:`~odoo.Widget.init`): .. code-block:: xml -
Hello
+
Hello
:: @@ -683,7 +683,7 @@ The ``t-esc`` directive can be used to output text: .. code-block:: xml -
Hello
+
Hello
It takes a Javascript expression which is evaluated, the result of the expression is then HTML-escaped and inserted in the document. Since it's an @@ -692,13 +692,13 @@ complex expression like a computation: .. code-block:: xml -
+
or method calls: .. code-block:: xml -
+
Outputting HTML ~~~~~~~~~~~~~~~ @@ -753,7 +753,7 @@ bind to each item during iteration.
- Hello + Hello
@@ -886,7 +886,7 @@ Exercise - +
@@ -1602,7 +1602,7 @@ Exercises
-

+

@@ -1744,7 +1744,7 @@ attributes are:
-

+