From: Dessalines Date: Sat, 17 Jul 2021 03:41:00 +0000 (-0400) Subject: Fix preview description html. Fixes #110 X-Git-Url: http://these/git/%22%7Burl%7D/%7B%60%24%7BghostArchiveUrl%7D/%7BelementUrl%7D?a=commitdiff_plain;h=74f1f07ab132aa882bf3728c163af276409cf1bd;p=lemmy-ui.git Fix preview description html. Fixes #110 --- diff --git a/src/shared/components/iframely-card.tsx b/src/shared/components/iframely-card.tsx index 2ecbf7f..4b1e4eb 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 && (