summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2020-05-07 09:39:15 +0000
committerMartin Trigaux <mat@odoo.com>2020-05-07 12:13:02 +0000
commit38f500445625f85d5629ef9efc823c33729a3797 (patch)
treeb806d67516d8893494ad16b59855c97580261ff5
parent1d7b3a8b2f8634b5b39380a84e76d864c7d5d5bd (diff)
[FIX] doc: escape URL
The ampersand (&) needs to be html encoded to be evaluated correctly Cherry-picked from odoo/odoo#46526 Courtesy of Olaf Closes odoo/odoo#46526 closes odoo/odoo#50852 X-original-commit: 28b977d4702cd64290c5e48f39c8df2ad9819483 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
-rw-r--r--doc/reference/reports.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/reports.rst b/doc/reference/reports.rst
index edf93a2faeb..3de92214b9a 100644
--- a/doc/reference/reports.rst
+++ b/doc/reference/reports.rst
@@ -206,7 +206,7 @@ More parameters can be passed as a query string
.. code-block:: html
<img t-att-src="'/report/barcode/?
- type=%s&value=%s&width=%s&height=%s'%('QR', 'text', 200, 200)"/>
+ type=%s&amp;value=%s&amp;width=%s&amp;height=%s'%('QR', 'text', 200, 200)"/>
Useful Remarks