Skip to content

Commit

Permalink
Fix template variable capitalization.
Browse files Browse the repository at this point in the history
I always thought if you put in a lowercase variable name, it would stay lowercase and you could get these mixed-case template variables. I think maybe that's how it worked the last time I tested it (10+ years ago), but it's long since changed.
  • Loading branch information
player-03 authored Jun 1, 2024
1 parent bcfb863 commit 174e20c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _docs/project-files/xml-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Use `<define />` tags to set variables for conditional logic. See the [Condition
<define name="custom-value" />
```

These values will be available in Haxe and in [templates](#template). For templates, use the syntax `::DEFINE_custom_value::`. Hyphens are converted to underscores in both cases.
These values will be available in Haxe and in [templates](#template). For templates, use the syntax `::DEFINE_CUSTOM_VALUE::`. Hyphens are converted to underscores in both cases.

### dependency

Expand Down Expand Up @@ -631,7 +631,7 @@ Use `<set />` tags to set variables for conditional logic. See the [Conditionals
<set name="custom-value" />
```

These values will be available in [templates](#template) using the syntax `::SET_custom_value::`. (Hyphens are converted to underscores.)
These values will be available in [templates](#template) using the syntax `::SET_CUSTOM_VALUE::`. (Hyphens are converted to underscores.)

### setenv

Expand Down

0 comments on commit 174e20c

Please sign in to comment.