Skip to content

Commit 5187df7

Browse files
committed
Attempt to fix warnings
1 parent 4a3cb50 commit 5187df7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/docsite/rst/porting_guides/porting_guide_core_2.19.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ Due to some string results previously parsing as lists, this mistake often went
100100
msg: "{{ ['test1', 'test2'] | replace('test', 'prod') }}"
101101

102102

103-
The result of this template becomes a string::
103+
The result of this template becomes a string:
104+
105+
.. code-block:: console
104106
105107
ok: [localhost] => {
106108
"msg": "['prod1', 'prod2']"
@@ -114,8 +116,9 @@ This can be resolved by using the ``map`` filter to apply the ``replace`` filter
114116
- debug:
115117
msg: "{{ ['test1', 'test2'] | map('replace', 'test', 'prod') }}"
116118

119+
The result of the corrected template remains a list:
117120

118-
The result of the corrected template remains a list::
121+
.. code-block:: console
119122
120123
ok: [localhost] => {
121124
"msg": [

0 commit comments

Comments
 (0)