mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
fix(linter): fix jsx_no_script_url doc failed to build
"Element is missing end tag."
This commit is contained in:
parent
861ae1581a
commit
17c0dd8fb2
1 changed files with 3 additions and 3 deletions
|
|
@ -46,9 +46,9 @@ declare_oxc_lint!(
|
|||
///
|
||||
/// ### Why is this bad?
|
||||
///
|
||||
/// URLs starting with javascript: are a dangerous attack surface because it’s easy to accidentally include unsanitized output in a tag like <a href> and create a security hole.
|
||||
/// In React 16.9 any URLs starting with javascript: scheme log a warning.
|
||||
/// In a future major release, React will throw an error if it encounters a javascript: URL.
|
||||
/// URLs starting with `javascript:` are a dangerous attack surface because it’s easy to accidentally include unsanitized output in a tag like `<a href>` and create a security hole.
|
||||
/// In React 16.9 any URLs starting with `javascript:` scheme log a warning.
|
||||
/// In a future major release, React will throw an error if it encounters a `javascript:` URL.
|
||||
///
|
||||
/// ### Examples
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in a new issue