OP-Engineering/link-preview-js

Error - Image SVG

moskoweb opened this issue · 1 comments

Describe the bug
It is not possible to identify a link that has an SVG image defined, you could create a filter of if you have svg in the string or URL, ignore and send without image.

Screenshots
Captura de Tela 2023-02-14 às 17 59 26

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

I don't quite get the problem. The webpage has returned the svg data as it's image source right? Once you get the response you can just filter it yourself if the calling code does not support it.

Can you share a link where this is happening?