Skip to content

🐛 fix(brand-icon): Some bal brand icons get broken by angular sanitization #1826

@andrijasvrkota

Description

@andrijasvrkota

Current Behavior

Currently if you try using balBrandIconRoadPurple for an svg it doesn't work. Angular sanitizer modifies the svg and it makes it unusable.

Image

Ugly solution (like the one in the attachment) works, but maybe it can be solved directly in DS

Expected Behavior

balBrandIconRoadPurple can be used for svg icons

Steps to Reproduce

  1. Try using bal-icon with balBrandIconRoadPurple as svg

Version

19.8.1

Browsers

Chrome

Device

Desktop

Code Reproduction URL

No response

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions