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
This commit is contained in:
ngdevelop-tech 2020-06-01 19:52:36 +05:30 committed by atscott
parent b33b89d441
commit 7d68f92315
1 changed files with 4 additions and 4 deletions

View File

@ -424,8 +424,8 @@ export interface ComponentDecorator {
*
* ```html
* <a>Spaces</a>&ngsp;<a>between</a>&ngsp;<a>links.</a>
* <!-->compiled to be equivalent to:</>
* <a>Spaces</a> <a>between</a> <a>links.</a>
* <!-- compiled to be equivalent to:
* <a>Spaces</a> <a>between</a> <a>links.</a> -->
* ```
*
* Note that sequences of `&ngsp;` are still collapsed to just one space character when
@ -433,8 +433,8 @@ export interface ComponentDecorator {
*
* ```html
* <a>before</a>&ngsp;&ngsp;&ngsp;<a>after</a>
* <!-->compiled to be equivalent to:</>
* <a>Spaces</a> <a>between</a> <a>links.</a>
* <!-- compiled to be equivalent to:
* <a>before</a> <a>after</a> -->
* ```
*
* To preserve sequences of whitespace characters, use the