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 e372a9e commit ac3985a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,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 ac3985a

Please sign in to comment.