For if conditionals, expressions must be explicitly marked for evaluation if they contain any operators. Resolves github/docs#3001 Co-authored-by: hubwriter <hubwriter@github.com>
2 lines
428 B
Markdown
2 lines
428 B
Markdown
When you use expressions in an `if` conditional, you may omit the expression syntax ({% raw %}`${{ }}`{% endraw %}) because {% data variables.product.prodname_dotcom %} automatically evaluates the `if` conditional as an expression, unless the expression contains any operators. If the expression contains any operators, the expression must be contained within {% raw %}`${{ }}`{% endraw %} to explicitly mark it for evaluation.
|