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:
parent
b33b89d441
commit
7d68f92315
@ -424,8 +424,8 @@ export interface ComponentDecorator {
|
|||||||
*
|
*
|
||||||
* ```html
|
* ```html
|
||||||
* <a>Spaces</a>&ngsp;<a>between</a>&ngsp;<a>links.</a>
|
* <a>Spaces</a>&ngsp;<a>between</a>&ngsp;<a>links.</a>
|
||||||
* <!-->compiled to be equivalent to:</>
|
* <!-- compiled to be equivalent to:
|
||||||
* <a>Spaces</a> <a>between</a> <a>links.</a>
|
* <a>Spaces</a> <a>between</a> <a>links.</a> -->
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* Note that sequences of `&ngsp;` are still collapsed to just one space character when
|
* Note that sequences of `&ngsp;` are still collapsed to just one space character when
|
||||||
@ -433,8 +433,8 @@ export interface ComponentDecorator {
|
|||||||
*
|
*
|
||||||
* ```html
|
* ```html
|
||||||
* <a>before</a>&ngsp;&ngsp;&ngsp;<a>after</a>
|
* <a>before</a>&ngsp;&ngsp;&ngsp;<a>after</a>
|
||||||
* <!-->compiled to be equivalent to:</>
|
* <!-- compiled to be equivalent to:
|
||||||
* <a>Spaces</a> <a>between</a> <a>links.</a>
|
* <a>before</a> <a>after</a> -->
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* To preserve sequences of whitespace characters, use the
|
* To preserve sequences of whitespace characters, use the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user