parent
836a5c72a0
commit
54ba0f021f
@ -250,7 +250,7 @@ export function _sanitizeHtml(defaultDoc: any, unsafeHtmlInput: string): string
|
|||||||
getTemplateContent(inertBodyElement !) as Element || inertBodyElement);
|
getTemplateContent(inertBodyElement !) as Element || inertBodyElement);
|
||||||
if (isDevMode() && sanitizer.sanitizedSomething) {
|
if (isDevMode() && sanitizer.sanitizedSomething) {
|
||||||
console.warn(
|
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;
|
return safeHtml;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user