docs($compile): fix grammar

Closes #10231
This commit is contained in:
Sugan Krishnan
2014-11-26 17:36:47 +05:30
committed by Pawel Kozlowski
parent 1e6a5b29a6
commit 9b3d9656a6

View File

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