gladevise / remark-link-card

remark-link-card-gladevise.vercel.app
MIT License
27 stars 8 forks source link

feat: sanitize open graph scraper results #13

Closed gladevise closed 3 years ago

gladevise commented 3 years ago

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.

vercel[bot] commented 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