doc: avoid mix of single and double quotes (#70115)
Avoid mix of single and double quotes in the `ternary`, this way we can copy/past the example without any surprise.
This commit is contained in:
parent
ca90c138f4
commit
b491f776b9
|
@ -76,7 +76,7 @@ Defining different values for true/false/null
|
|||
|
||||
You can create a test, then define one value to use when the test returns true and another when the test returns false (new in version 1.9)::
|
||||
|
||||
{{ (status == "needs_restart") | ternary('restart', 'continue') }}
|
||||
{{ (status == 'needs_restart') | ternary('restart', 'continue') }}
|
||||
|
||||
In addition, you can define a one value to use on true, one value on false and a third value on null (new in version 2.8)::
|
||||
|
||||
|
|
Loading…
Reference in a new issue