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]]}
|
rehypePlugins={[[rehypeSanitize, customSchema]]}
|
||||||
components={{
|
components={{
|
||||||
img: ({ src }) => <span>{src}</span>,
|
img: ({ src }) => <span>{src}</span>,
|
||||||
video: () => null,
|
video: ({ src }) => <span>{src}</span>,
|
||||||
source: () => null,
|
source: ({ src }) => <span>{src}</span>,
|
||||||
gif: () => null,
|
gif: ({ src }) => <span>{src}</span>,
|
||||||
p: ({ children }) => <div className="custom-paragraph">{children}</div>,
|
p: ({ children }) => <div className="custom-paragraph">{children}</div>,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user