Skip to content

Commit

Permalink
fixed typos in useSchemaOrg api docs (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
imgta authored Oct 28, 2024
1 parent e76ebc1 commit e6e29ea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/content/schema-org/5.api/0.use-schema-org.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ interface Head<E extends MergeHead = SchemaAugmentations> {

## Options

The second argument to `useSchemaOrg` is the `HeadEntryOptions`. This allow you apply options to the entry, meaning all
The second parameter to `useSchemaOrg` is the `HeadEntryOptions`. This allows you to apply options to the entry, meaning all
tags that exist within the `input`.

```ts
Expand Down Expand Up @@ -96,13 +96,14 @@ Be careful, **do not** use this function with any unknown / third party input, t
to guarantee that the output is safe when dealing with unknown input.

If you need XSS safety, sanitise your input or
look at using the [useSeoMet
look at using the [useSeoMeta](/usage/composables/use-seo-meta) or [useSchemaOrgSafe](/usage/composables/use-head-safe) composables instead.
If you're having issues working around the default nodes, you should disable them.

```ts [nuxt.config.ts]
```ts
// nuxt.config.ts
export default defineNuxtConfig({
schemaOrg: {
defaults: false
}
})
```a](/usage/composables/use-seo-meta) or [useSchemaOrgSafe](/usage/composables/use-head-safe) composables instead.
```

0 comments on commit e6e29ea

Please sign in to comment.