Skip to content

Commit

Permalink
Fixed #11627 - Badge: Whitespaces are added before & after string
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jun 30, 2022
1 parent 5c3a6e0 commit f550385
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/components/badge/badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ export class BadgeDirective implements AfterViewInit, OnDestroy {
@Component({
selector: 'p-badge',
template: `
<span [ngClass]="containerClass()" [class]="styleClass" [ngStyle]="style">
{{value}}
</span>
<span [ngClass]="containerClass()" [class]="styleClass" [ngStyle]="style">{{value}}</span>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
Expand Down

0 comments on commit f550385

Please sign in to comment.