Skip to content

Commit 42402e6

Browse files
authored
Add notes on security
1 parent b0b259b commit 42402e6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ Yields:
5454
Modifies [tree][] in-place.
5555
Returns `tree`.
5656

57+
## Security
58+
59+
Use of `mdast-squeeze-paragraphs` does not involve [**hast**][hast] or user
60+
content so there are no openings for [cross-site scripting (XSS)][xss] attacks.
61+
5762
## Related
5863

5964
* [`remark-squeeze-paragraphs`][squeeze-paragraphs]
@@ -118,3 +123,7 @@ abide by its terms.
118123
[remark]: https://github.com/remarkjs/remark
119124

120125
[squeeze-paragraphs]: https://github.com/remarkjs/remark-squeeze-paragraphs
126+
127+
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
128+
129+
[hast]: https://github.com/syntax-tree/hast

0 commit comments

Comments
 (0)