fix(select): prevent nbsp from getting butchered in AOT (#7363)

This commit is contained in:
mmalerba
2017-09-29 12:59:51 -07:00
committed by Andrew Seguin
parent b1ac7b096b
commit 2e71cac8a7
+1 -1
View File
@@ -9,7 +9,7 @@
TODO(mmalerba):   is currently broken in components with preserveWhitespace: false, so we
evaluate it as a JS string binding instead. Change back to   once it works again.
-->
<ng-container *ngIf="empty">{{'\xa0'}}</ng-container>
<ng-container *ngIf="empty">{{'\u00A0'}}</ng-container>
<span class="mat-select-value-text" *ngIf="!empty" [ngSwitch]="!!customTrigger">
<span *ngSwitchDefault>{{ triggerValue }}</span>
<ng-content select="mat-select-trigger" *ngSwitchCase="true"></ng-content>