We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059eb3a commit 24c3b04Copy full SHA for 24c3b04
translation.rst
@@ -288,16 +288,16 @@ texts* and complex expressions:
288
289
.. code-block:: twig
290
291
- {# text translated between tags is never escaped #}
292
- {% trans %}
293
- <h3>foo</h3>
294
- {% endtrans %}
+ {# text translated between tags is never escaped #}
+ {% trans %}
+ <h3>foo</h3>
+ {% endtrans %}
295
296
- {% set message = '<h3>foo</h3>' %}
+ {% set message = '<h3>foo</h3>' %}
297
298
- {# strings and variables translated via a filter are escaped by default #}
299
- {{ message|trans|raw }}
300
- {{ '<h3>bar</h3>'|trans|raw }}
+ {# strings and variables translated via a filter are escaped by default #}
+ {{ message|trans|raw }}
+ {{ '<h3>bar</h3>'|trans|raw }}
301
302
.. tip::
303
0 commit comments