From a9de38a3be7da0d1959e3f1a8d4daea700ad8343 Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 30 Apr 2023 15:44:35 +0200 Subject: [PATCH] fix embed media via md still shows link as txt --- src/components/Post.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Post.jsx b/src/components/Post.jsx index e6ce3241..872916a0 100644 --- a/src/components/Post.jsx +++ b/src/components/Post.jsx @@ -72,7 +72,7 @@ const Post = ({ content, handlequoteclick, comment }) => { remarkPlugins={[blockquoteToGreentext, breaks]} rehypePlugins={[[rehypeSanitize, customSchema]]} components={{ - img: () => null, + img: ({ src }) => {src}, video: () => null, source: () => null, gif: () => null,