@@ -85,7 +85,7 @@ Example 1
85
85
86
86
.. code-block :: twig
87
87
88
- {{ fragment_uri(controller('App\\Controller\\HomeController::index'),
88
+ {{ fragment_uri(controller('App\\Controller\\HomeController::index'),
89
89
absolute = true, strict = true, sign = true) }}
90
90
91
91
Output:
@@ -100,7 +100,7 @@ Example 2
100
100
101
101
.. code-block :: twig
102
102
103
- {{ fragment_uri(controller('App\\Controller\\UserController::profile',
103
+ {{ fragment_uri(controller('App\\Controller\\UserController::profile',
104
104
{ 'id': 42 }), absolute = false, strict = false, sign = false) }}
105
105
106
106
Output:
@@ -131,7 +131,7 @@ like :ref:`render() <reference-twig-function-render>` and
131
131
132
132
.. _reference-twig-function-asset :
133
133
134
- .. code-block :: twig
134
+ .. code-block :: html+ twig
135
135
136
136
{% set myArray = {'a': 'foo', 'b': 'bar'} %}
137
137
@@ -631,7 +631,7 @@ Output:
631
631
632
632
.. code-block :: html
633
633
634
- <a href =" path/to/file/file.txt#L1"
634
+ <a href =" path/to/file/file.txt#L1"
635
635
title =" Click to open this file" class =" file_link" >my_text at line 1
636
636
</a >
637
637
@@ -645,7 +645,7 @@ Output:
645
645
646
646
.. code-block :: html
647
647
648
- <a href =" path/to/file/file.txt#L3"
648
+ <a href =" path/to/file/file.txt#L3"
649
649
title =" Click to open this file" class =" file_link" >
650
650
<abbr title =" path/to/file/file.txt" >file.txt</abbr >
651
651
/ at line 3
0 commit comments