Skip to content

Commit

Permalink
Add notes on security
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 15, 2019
1 parent 14316a3 commit 5a89f9a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ or `h7`).

`Error` — When `shift` is not a valid non-null finite integer.

## Security

`hast-util-shift-heading` changes the syntax tree but can only generated
headings from `h1` through `h6`.
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 @@ -157,3 +163,5 @@ abide by its terms.
[hast]: https://github.com/syntax-tree/hast

[node]: https://github.com/syntax-tree/hast#nodes

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

0 comments on commit 5a89f9a

Please # to comment.