Hi,
I'm working on updating my code to the new Angular2 RC. I notice that I now get a bunch of warnings that look like:
WARNING: sanitizing unsafe style value background-color: #1E1514
The offending angular code looks like:
<div *ngFor="let color of colors"
class="color-swatch"
style="background-color: {{color}}"
</div>
where colors is a list of strings set in the accompanying code. I'm fine with the sanitization, but is there a way to explicitly sanitize these values so that I don't get spammed with the warning? Thanks,
Forrester