Skip to content

Commit

Permalink
docs(core): fix characters that corrupt link (angular#27982)
Browse files Browse the repository at this point in the history
PR Close angular#27982
  • Loading branch information
Dario Braun authored and AndrewKushnir committed Jan 9, 2019
1 parent 72fc0a7 commit d2b2d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/sanitization/html_sanitizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d2b2d81

Please sign in to comment.