Skip to content

Commit 403d889

Browse files
ngdevelop-techatscott
authored andcommitted
docs(core): fix directive.ts preserving whitespace example comment (#37377)
In directive.ts file - component preserving whitespace example's compiled output comment is wrongly written PR Close #37377
1 parent 46edc48 commit 403d889

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/core/src/metadata/directives.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -424,17 +424,17 @@ export interface ComponentDecorator {
424424
*
425425
* ```html
426426
* <a>Spaces</a>&ngsp;<a>between</a>&ngsp;<a>links.</a>
427-
* <!-->compiled to be equivalent to:</>
428-
* <a>Spaces</a> <a>between</a> <a>links.</a>
427+
* <!-- compiled to be equivalent to:
428+
* <a>Spaces</a> <a>between</a> <a>links.</a> -->
429429
* ```
430430
*
431431
* Note that sequences of `&ngsp;` are still collapsed to just one space character when
432432
* the `preserveWhitespaces` option is set to `false`.
433433
*
434434
* ```html
435435
* <a>before</a>&ngsp;&ngsp;&ngsp;<a>after</a>
436-
* <!-->compiled to be equivalent to:</>
437-
* <a>Spaces</a> <a>between</a> <a>links.</a>
436+
* <!-- compiled to be equivalent to:
437+
* <a>before</a> <a>after</a> -->
438438
* ```
439439
*
440440
* To preserve sequences of whitespace characters, use the

0 commit comments

Comments
 (0)