Skip to content

Commit

Permalink
fix(select): prevent nbsp from getting butchered in AOT (#7363)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba authored and andrewseguin committed Sep 29, 2017
1 parent b1ac7b0 commit 2e71cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/select/select.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2e71cac

Please sign in to comment.