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 65d24d6 commit 37acaf0
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 @@ -132,6 +132,11 @@ of `source`:
<p data-nlcst="source">Completely marked.</p>
```

## Security

`hast-util-to-nlcst` does not change the original 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 @@ -209,3 +214,5 @@ abide by its terms.
[vfile]: https://github.com/vfile/vfile

[source]: https://github.com/syntax-tree/nlcst#source

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

0 comments on commit 37acaf0

Please sign in to comment.