Skip to content

Commit d8856ba

Browse files
committed
Refactor identifiers
1 parent 340d8cc commit d8856ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Improper use can open you up to a [cross-site scripting (XSS)][xss] attack as
145145
If operating on a `<script>` element, `value` will run in a browser.
146146

147147
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].
149149

150150
## Related
151151

@@ -218,15 +218,15 @@ abide by its terms.
218218

219219
[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md
220220

221-
[hast-util-from-string]: https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-from-string
222-
223221
[hast]: https://github.com/syntax-tree/hast
224222

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

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

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
230230

231231
[hast-util-to-text]: https://github.com/syntax-tree/hast-util-to-text
232232

0 commit comments

Comments
 (0)