File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export class ElementRef<T = any> {
5454 * <p>
5555 * Use this API as the last resort when direct access to DOM is needed. Use templating and
5656 * data-binding provided by Angular instead. If used, it is recommended in combination with
57- * {@link /best-practices/security#direct-use-of-the-dom-apis-and-explicit-sanitization-calls}
57+ * {@link /best-practices/security#direct-use-of-the-dom-apis-and-explicit-sanitization-calls DomSanitizer }
5858 * for maxiumum security;
5959 * </p>
6060 * </div>
Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ export abstract class RendererFactory2 {
4747 * rendering calls, or to render to something other than DOM.
4848 *
4949 * <div class="docs-alert docs-alert-important">
50+ * <p>
5051 * Please be aware that usage of `Renderer2`, in context of accessing DOM elements, provides no
5152 * extra security which makes it equivalent to
52- * {@link /best-practices/security#direct-use-of-the-dom-apis-and-explicit-sanitization-calls}.
53+ * {@link /best-practices/security#direct-use-of-the-dom-apis-and-explicit-sanitization-calls Security vulnerabilities}.
54+ * </p>
5355 * </div>
5456 *
5557 * Create your custom renderer using `RendererFactory2`.
You can’t perform that action at this time.
0 commit comments