Ionic 2 + Angular 2: Images prepended with 'unsafe:' therefore not displaying even though they're fine

后端 未结 4 1210

For some reason, some of my images are being prepended with \'unsafe:\', which is causing them not to be rendered.

Q) Why is this happening an

4条回答
  •  时光说笑
    2020-12-10 10:49

    In my case, I discovered, after have banged my head against the wall several times, that a litle and innocent whitespace in the end of the image url can make Ionic/Angular issue this error.

提交回复
热议问题