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 18, 2019
1 parent e75b8ba commit d91ad60
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ A comment marker.
values to numbers and booleans when possible
* `node` ([`Node`][node]) — Reference to given node

## Security

Use of `mdast-comment-marker` does not involve [**hast**][hast], user content,
or change the 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 @@ -150,3 +156,7 @@ abide by its terms.
[node]: https://github.com/syntax-tree/unist#node

[marker]: #marker

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

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

0 comments on commit d91ad60

Please sign in to comment.