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

Commit d7274f0

Browse files
dmandelinNarretz
authored andcommitted
docs($sanitizeProvider): fix param comment for enableSvg
Change the text of the doc comment for the parameter of enableSvg to match the type of the comment and the behavior of the code (#14543).
1 parent 0bd2efb commit d7274f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngSanitize/sanitize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function $SanitizeProvider() {
182182
* </code></pre>
183183
* </div>
184184
*
185-
* @param {boolean=} regexp New regexp to whitelist urls with.
185+
* @param {boolean=} flag Enable or disable SVG support in the sanitizer.
186186
* @returns {boolean|ng.$sanitizeProvider} Returns the currently configured value if called
187187
* without an argument or self for chaining otherwise.
188188
*/

0 commit comments

Comments
 (0)