Closed gladevise closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/gladevise/remark-link-card/6smboHZHNG8ELYqjjmGmY8B3qk6m
✅ Preview: https://remark-link-card-git-sanitize-ogs-result-gladevise.vercel.app
Since we had not sanitized the results obtained by Open graph scraper, we used he to sanitize them. Originally, we should output the link cards as Mdast and use hast-util-sanitize to sanitize it. In the future, we will switch to hast-util-sanitize when we refactor to output as Mdast.