File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ Improper use can open you up to a [cross-site scripting (XSS)][xss] attack as
145
145
If operating on a ` <script> ` element, ` value ` will run in a browser.
146
146
147
147
Do not use user input in ` value ` when operating on ` script ` elements or use
148
- [ ` hast-util-santize ` ] [ sanitize ] .
148
+ [ ` hast-util-santize ` ] [ hast-util- sanitize] .
149
149
150
150
## Related
151
151
@@ -218,15 +218,15 @@ abide by its terms.
218
218
219
219
[ coc ] : https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md
220
220
221
- [ hast-util-from-string ] : https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-from-string
222
-
223
221
[ hast ] : https://github.com/syntax-tree/hast
224
222
225
223
[ node ] : https://github.com/syntax-tree/hast#nodes
226
224
227
225
[ xss ] : https://en.wikipedia.org/wiki/Cross-site_scripting
228
226
229
- [ sanitize ] : https://github.com/syntax-tree/hast-util-sanitize
227
+ [ hast-util-from-string ] : https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-from-string
228
+
229
+ [ hast-util-sanitize ] : https://github.com/syntax-tree/hast-util-sanitize
230
230
231
231
[ hast-util-to-text ] : https://github.com/syntax-tree/hast-util-to-text
232
232
You can’t perform that action at this time.
0 commit comments