mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Andrew Kushnir
parent
836a5c72a0
commit
54ba0f021f
@@ -250,7 +250,7 @@ export function _sanitizeHtml(defaultDoc: any, unsafeHtmlInput: string): string
|
||||
getTemplateContent(inertBodyElement !) as Element || inertBodyElement);
|
||||
if (isDevMode() && sanitizer.sanitizedSomething) {
|
||||
console.warn(
|
||||
'WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss).');
|
||||
'WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss');
|
||||
}
|
||||
|
||||
return safeHtml;
|
||||
|
||||
Reference in New Issue
Block a user