Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unescape HTML encoded entities in link preview #5412

Merged
merged 1 commit into from Jul 20, 2021

Conversation

heysujal
Copy link
Contributor

@heysujal heysujal commented Jul 18, 2021

First time contributor checklist:

Contributor checklist:

Description

Fixes #5397
I have fixed the issue of HTML encoded entities not being unescaped in description link preview.
I have used unescape method of lodash.

Before:
image
After:
fixed

I have tested if the same issue happens with the title also. But it seems like it happens only for the description of the preview.

@indutny-signal
Copy link
Contributor

indutny-signal commented Jul 20, 2021

This is going to be merged with the next beta release. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

HTML encoded entities aren't unescaped in link preview
3 participants