next.js
09bd26ab - docs: fix crossOrigin wording (#97462)

Commit
8 days ago
docs: fix crossOrigin wording (#97462) ## What? Fix the `crossOrigin` docs so the wording matches what the option does, and so a missing space is not glued to the `next/head` link. ## Why? - The page said the option adds an attribute **in** all `<script>` tags. It adds the attribute **to** those tags. - `head)components` had no space, so "components" was stuck to the link. - The page summary still said "a crossOrigin tag on the script tags", which is the same awkward wording. Docs only. No runtime change. ## How? - Use "to" instead of "in". - Add the missing space before "components". - Say "attribute" instead of "tag" in the summary. Co-authored-by: Reza Karim Zadeh <R.KarimZadeh@jahanhotel.ir>
Parents
Loading