From 74f1f07ab132aa882bf3728c163af276409cf1bd Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 16 Jul 2021 23:41:00 -0400 Subject: [PATCH] Fix preview description html. Fixes #110 --- src/shared/components/iframely-card.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/shared/components/iframely-card.tsx b/src/shared/components/iframely-card.tsx index 2ecbf7f8..4b1e4ebe 100644 --- a/src/shared/components/iframely-card.tsx +++ b/src/shared/components/iframely-card.tsx @@ -1,6 +1,5 @@ import { Component, linkEvent } from "inferno"; import { Post } from "lemmy-js-client"; -import { mdToHtml } from "../utils"; import { i18n } from "../i18next"; import { Icon } from "./icon"; @@ -54,7 +53,9 @@ export class IFramelyCard extends Component< {post.embed_description && (
)} {post.embed_html && (