Skip to content

Commit

Permalink
fix unclosed script tag
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed Nov 19, 2024
1 parent e280c44 commit 341df3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/cheatsheets/html-attrs.cheatmd
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,5 @@ let liveSocket = new LiveSocket("/live", Socket, {hooks: Hooks})

```heex
<link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} />
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}></script>
```

0 comments on commit 341df3b

Please sign in to comment.