Skip to content

Commit 306b49d

Browse files
committed
AG-48295 fix href-sanitizer typos
* commit '9cccbc8f5d55c244dc45de8dcc371242be70d3ca': Fixed typos href-sanitizer.ts
2 parents b14c324 + 9cccbc8 commit 306b49d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scriptlets/href-sanitizer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { type Source } from './scriptlets';
2121
* ### Syntax
2222
*
2323
* ```text
24-
* example.org#%#//scriptlet('href-sanitizer', selector[, attribute, [ transform]])
24+
* example.org#%#//scriptlet('href-sanitizer', selector[, attribute[, transform]])
2525
* ```
2626
*
2727
* - `selector` — required, a CSS selector to match the elements to be sanitized,
@@ -39,7 +39,7 @@ import { type Source } from './scriptlets';
3939
* if no parameter is specified, remove all parameters.
4040
*
4141
* > Note that in the case where the discovered value does not correspond to a valid URL with the appropriate
42-
* > http or https protocols, the value will not be set.
42+
* > HTTP or HTTPS protocols, the value will not be set.
4343
*
4444
* ### Examples
4545
*

0 commit comments

Comments
 (0)