Skip to content

Commit

Permalink
Add notes on security
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm authored Jul 15, 2019
1 parent 3baa139 commit fa15fc6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ interactive({
`boolean` — Whether `node` is an [`Element`][element] categorised as
[*interactive*][spec].

## Security

`hast-util-interactive` does not change the syntax tree so there are no openings
for [cross-site scripting (XSS)][xss] attacks.

## Contribute

See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
Expand Down Expand Up @@ -119,3 +124,5 @@ abide by its terms.
[element]: https://github.com/syntax-tree/hast#element

[spec]: https://html.spec.whatwg.org/#interactive-content

[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting

0 comments on commit fa15fc6

Please sign in to comment.