Skip to content

Commit 0ee1a6e

Browse files
vladboisammalerba
authored andcommitted
docs: add link label & paragraph for correct display (#60708)
PR Close #60708
1 parent 4fb74b0 commit 0ee1a6e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/core/src/linker/element_ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

packages/core/src/render/api.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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`.

0 commit comments

Comments
 (0)