Skip to content

Commit

Permalink
fix(avatar): background url broken when scr string contains ( or ) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonoff authored Dec 18, 2024
1 parent 88995e0 commit 4c02b94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export class IgxAvatarComponent implements OnInit {
* @internal
*/
public getSrcUrl() {
return `url(${this.src})`;
return `url("${this.src}")`;
}

/** @hidden @internal */
Expand Down

0 comments on commit 4c02b94

Please sign in to comment.