Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9b3d965

Browse files
rgksuganpkozlowski-opensource
authored andcommitted
docs($compile): fix grammar
Closes #10231
1 parent 1e6a5b2 commit 9b3d965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/compile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
803803
* Retrieves or overrides the default regular expression that is used for whitelisting of safe
804804
* urls during a[href] sanitization.
805805
*
806-
* The sanitization is a security measure aimed at prevent XSS attacks via html links.
806+
* The sanitization is a security measure aimed at preventing XSS attacks via html links.
807807
*
808808
* Any url about to be assigned to a[href] via data-binding is first normalized and turned into
809809
* an absolute url. Afterwards, the url is matched against the `aHrefSanitizationWhitelist`

0 commit comments

Comments
 (0)