Skip to content

Commit

Permalink
docs: remove incompatible syntax from docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
airblast-dev authored and ctron committed Mar 26, 2024
1 parent e86b8b2 commit ad94a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Classic script assets processed by Trunk must follow these three rules:
- Must have the attribute `data-trunk`.
- Must have the attribute `src`, pointing to a script file

This will typically look like: `<script data-trunk src="{path}" ..other options here.. />`. All `<script data-trunk .../>` HTML elements will be replaced with the output HTML of the associated pipeline.
This will typically look like: `<script data-trunk src="{path}" ..other options here..></script>`. All `<script data-trunk ...></script>` HTML elements will be replaced with the output HTML of the associated pipeline.

Trunk will copy script files found in the source HTML without content modification. This content is hashed for cache control. The `src` attribute must be included in the script pointing to the script file to be processed.

Expand Down

0 comments on commit ad94a69

Please sign in to comment.