mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 14:21:13 +00:00
Merge pull request #332 from LemmyNet/fix/preview_desc
Fix/preview desc
This commit is contained in:
commit
826b5758b6
2 changed files with 4 additions and 3 deletions
2
src/assets/css/themes/litely.min.css
vendored
2
src/assets/css/themes/litely.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -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 && (
|
||||
<div
|
||||
className="card-text small text-muted md-div"
|
||||
dangerouslySetInnerHTML={mdToHtml(post.embed_description)}
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: post.embed_description,
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{post.embed_html && (
|
||||
|
|
Loading…
Reference in a new issue