mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix embed media via md still shows link as txt
This commit is contained in:
@@ -72,7 +72,7 @@ const Post = ({ content, handlequoteclick, comment }) => {
|
|||||||
remarkPlugins={[blockquoteToGreentext, breaks]}
|
remarkPlugins={[blockquoteToGreentext, breaks]}
|
||||||
rehypePlugins={[[rehypeSanitize, customSchema]]}
|
rehypePlugins={[[rehypeSanitize, customSchema]]}
|
||||||
components={{
|
components={{
|
||||||
img: () => null,
|
img: ({ src }) => <span>{src}</span>,
|
||||||
video: () => null,
|
video: () => null,
|
||||||
source: () => null,
|
source: () => null,
|
||||||
gif: () => null,
|
gif: () => null,
|
||||||
|
|||||||
Reference in New Issue
Block a user