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

Render link preview description as HTML #110

Closed
Porrumentzio opened this issue Dec 5, 2020 · 2 comments
Closed

Render link preview description as HTML #110

Porrumentzio opened this issue Dec 5, 2020 · 2 comments

Comments

@Porrumentzio
Copy link

Issue Summary

When previews of links to posts or communities are loaded, they show unrendered markdown markup:
irudia

Steps to Reproduce

  1. Paste a link of a post/community with markdown markup (for example https://lemmy.eus/c/antiespezismoa) into some app/website where previews are displayed (chat apps, discourse forums...)
  2. See how the unrendered markup is showed

Is there any way to make that markdown rendered into previews, or at least deleting it (this is more difficult)?

@dessalines
Copy link
Member

I spose we could convert the markdown to html for the description field there.

@dessalines dessalines transferred this issue from LemmyNet/lemmy Dec 16, 2020
@Porrumentzio
Copy link
Author

Now that the rendering has changed to HTML, the same problem remains, but now with unrendered HTML
irudia

Seems that the problem is not which markup use, but whether it is rendered

@dessalines dessalines reopened this Feb 27, 2021
@dessalines dessalines changed the title Link previews are showed with markdown unrendered Render link preview description as HTML Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants