Skip to content

Commit

Permalink
A couple typos (#6061)
Browse files Browse the repository at this point in the history
intepolation -> interpolation
commited -> committed
  • Loading branch information
harrisi authored Jan 23, 2025
1 parent e93303e commit 5dba0bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion guides/deployment/gigalixir.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ ssl_opts: [verify: :verify_none]
## Deploy Time!

Our project is now ready to be deployed on Gigalixir.
Be sure you have everything commited to git and run the following command:
Be sure you have everything committed to git and run the following command:

```console
$ git push gigalixir
Expand Down
2 changes: 1 addition & 1 deletion guides/request_lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ For the last piece of this puzzle, we'll need a new template. Since it is for th

To do that, we'll use the special HEEx tags for executing Elixir expressions: `{...}` and `<%= %>`. Notice that EEx tag has an equals sign like this: `<%=` . That means that any Elixir code that goes between those tags will be executed, and the resulting value will replace the tag in the HTML output. If the equals sign were missing, the code would still be executed, but the value would not appear on the page.

Remember our templates are written in HEEx (HTML+EEx). HEEx is a superset of EEx, and thereby supports the EEx `<%= %>` interpolation syntax for interpolating arbitrary blocks of code. In general, the HEEx `{...}` interpolation syntax is preferred anytime there is HTML-aware intepolation to be done – such as within attributes or inline values with a body.
Remember our templates are written in HEEx (HTML+EEx). HEEx is a superset of EEx, and thereby supports the EEx `<%= %>` interpolation syntax for interpolating arbitrary blocks of code. In general, the HEEx `{...}` interpolation syntax is preferred anytime there is HTML-aware interpolation to be done – such as within attributes or inline values with a body.

The only times `EEx` `<%= %>` interpolation is necessary is for interpolating arbitrary blocks of markup, such as branching logic that injects separate markup trees, or for interpolating values within `<script>` or `<style>` tags.

Expand Down

0 comments on commit 5dba0bb

Please sign in to comment.