If you’re using the DOMSanitizer on those URLs, the way you write it will subtly fail, because interpolation only creates strings. Instead of <img src="{{foo}}">
, always prefer <img [src]="foo">
.
1 Like