michaelbazos / angular-feather

A-la-carte integration of Feather Icons in Angular applications
MIT License
155 stars 38 forks source link

Mark icon svg as trusted HTML #82

Closed ttalle closed 3 months ago

ttalle commented 3 months ago

This prevents CSP errors in some contexts. The alternative is to create a specific policy for feather-icons but this seems unecessary since we're already integrating with Angular.

The icons are embedded as static string resources so this should be no problem for safety.

michaelbazos commented 3 months ago

Thank you!