mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix markdown embeds to show link
This commit is contained in:
@@ -73,9 +73,9 @@ const Post = ({ content, handlequoteclick, comment }) => {
|
||||
rehypePlugins={[[rehypeSanitize, customSchema]]}
|
||||
components={{
|
||||
img: ({ src }) => <span>{src}</span>,
|
||||
video: () => null,
|
||||
source: () => null,
|
||||
gif: () => null,
|
||||
video: ({ src }) => <span>{src}</span>,
|
||||
source: ({ src }) => <span>{src}</span>,
|
||||
gif: ({ src }) => <span>{src}</span>,
|
||||
p: ({ children }) => <div className="custom-paragraph">{children}</div>,
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user