@@ -144,13 +144,15 @@ function $SceDelegateProvider() {
144
144
* @kind function
145
145
*
146
146
* @param {Array= } whitelist When provided, replaces the resourceUrlWhitelist with the value
147
- * provided. This must be an array or null. A snapshot of this array is used so further
148
- * changes to the array are ignored.
147
+ * provided. This must be an array or null. A snapshot of this array is used so further
148
+ * changes to the array are ignored.
149
149
*
150
- * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items
151
- * allowed in this array.
150
+ * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items
151
+ * allowed in this array.
152
152
*
153
- * Note: **an empty whitelist array will block all URLs**!
153
+ * <div class="alert alert-warning">
154
+ * **Note:** an empty whitelist array will block all URLs!
155
+ * </div>
154
156
*
155
157
* @return {Array } the currently set whitelist array.
156
158
*
@@ -173,17 +175,17 @@ function $SceDelegateProvider() {
173
175
* @kind function
174
176
*
175
177
* @param {Array= } blacklist When provided, replaces the resourceUrlBlacklist with the value
176
- * provided. This must be an array or null. A snapshot of this array is used so further
177
- * changes to the array are ignored.
178
+ * provided. This must be an array or null. A snapshot of this array is used so further
179
+ * changes to the array are ignored.
178
180
*
179
- * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items
180
- * allowed in this array.
181
+ * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items
182
+ * allowed in this array.
181
183
*
182
- * The typical usage for the blacklist is to **block
183
- * [open redirects](http://cwe.mitre.org/data/definitions/601.html)** served by your domain as
184
- * these would otherwise be trusted but actually return content from the redirected domain.
184
+ * The typical usage for the blacklist is to **block
185
+ * [open redirects](http://cwe.mitre.org/data/definitions/601.html)** served by your domain as
186
+ * these would otherwise be trusted but actually return content from the redirected domain.
185
187
*
186
- * Finally, **the blacklist overrides the whitelist** and has the final say.
188
+ * Finally, **the blacklist overrides the whitelist** and has the final say.
187
189
*
188
190
* @return {Array } the currently set blacklist array.
189
191
*
0 commit comments