Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit d2b127e

Browse files
committed
Ensure HeadScript docs indicate id is also allowed as an attribute
1 parent 103ae4e commit d2b127e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/book/helpers/head-script.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ The `HeadScript` helper is a concrete implementation of the
8686
> ### Arbitrary Attributes are Disabled by Default
8787
>
8888
> By default, `HeadScript` only will render `<script>` attributes that are blessed by the W3C.
89-
> These include `charset`, `crossorigin`, `defer`, `integrity`, `language`, `src`, and `type`. However, some JavaScript
90-
> frameworks, notably [Dojo](http://www.dojotoolkit.org/), utilize custom attributes in order to
89+
> These include `id`, `charset`, `crossorigin`, `defer`, `integrity`,
90+
> `language`, `src`, and `type`. However, some JavaScript frameworks, notably
91+
> [Dojo](http://www.dojotoolkit.org/), utilize custom attributes in order to
9192
> modify behavior. To allow such attributes, you can enable them via the
9293
> `setAllowArbitraryAttributes()` method:
9394
>

0 commit comments

Comments
 (0)