Skip to content

Commit

Permalink
(docs) update README.md (#98)
Browse files Browse the repository at this point in the history
- correct spelling
  • Loading branch information
vladdoster authored Jun 8, 2021
1 parent b26dc87 commit e4b1cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Example:
Oftentimes, applications have additional — often stricter —
requirements beyond just script execution. For example, in a certain context
an application might want to allow formatted text, but no structural or other
complex markup. To accomodate this, the API allows for creation of multiple
complex markup. To accommodate this, the API allows for creation of multiple
`Sanitizer` instances, which can be customized on creation.

Example:
Expand All @@ -102,7 +102,7 @@ Example:
document.querySelector("p.out").replaceChildren(for_display.sanitize(untrusted_example));
```

It is the over-arching design goal of the Sanitizer API to be safe and simple,
It is the overarching design goal of the Sanitizer API to be safe and simple,
at the same time. Therefore the API is not only safe by default, but is also
perma-safe. The Sanitizer will enforce a baseline that does not allow script
execution, even if a developer may have inadvertently configured script-ish
Expand Down

0 comments on commit e4b1cac

Please sign in to comment.