refactor(core): update docs (#29600)

PR Close #29600
This commit is contained in:
Ben Lesh 2019-03-29 12:54:47 -07:00 committed by Jason Aden
parent 7c1f73ac7b
commit 1293da1cf7
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ import {isDevMode} from '../util/is_dev_mode';
* execution if used in URL context within a HTML document. Specifically, this
* regular expression matches if (comment from here on and regex copied from
* Soy's EscapingConventions):
* (1) Either a protocol in a whitelist (http, https, mailto or ftp).
* (1) Either an allowed protocol (http, https, mailto or ftp).
* (2) or no protocol. A protocol must be followed by a colon. The below
* allows that by allowing colons only after one of the characters [/?#].
* A colon after a hash (#) must be in the fragment.