docs(core): fix characters that corrupt link (#27982)

PR Close #27982
This commit is contained in:
Dario Braun 2019-01-08 13:34:21 +01:00 committed by Andrew Kushnir
parent 836a5c72a0
commit 54ba0f021f

View File

@ -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;