0

I have an embed tag displaying a SVG: <embed src="/img/mysvg.svg" style="max-width: 100%">

It's causing an error in the console: Console Error

When I comment out the embed tag the error goes away. Any ideas why this is happening?

I don't think it should be a factor but it's also inside a blade in a Laravel project

I get the same error in Safari except it's in kwift.SAFARI.min.js:1

Ben Roberts
  • 63
  • 2
  • 12

1 Answers1

0

why you use embed tag , Chrome Dev tool thinks is wrong , actuality it is not wrong in HTML , but better use img tag

<img src="/img/mysvg.svg" style="max-width: 100%"/>