mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(markdown): don't allow horizontal lines, they look confusing inside of post content
This commit is contained in:
@@ -168,12 +168,7 @@ const Markdown = ({ content, title }: MarkdownProps) => {
|
||||
video: ({ src }) => <span>{src}</span>,
|
||||
iframe: ({ src }) => <span>{src}</span>,
|
||||
source: ({ src }) => <span>{src}</span>,
|
||||
hr: () =>
|
||||
!isInCatalogView && (
|
||||
<div className={styles.hrWrapper}>
|
||||
<hr />
|
||||
</div>
|
||||
),
|
||||
hr: () => null,
|
||||
a: ({ href, children }) => {
|
||||
if (href && !isInCatalogView) {
|
||||
const linkMediaInfo = getLinkMediaInfo(href);
|
||||
|
||||
Reference in New Issue
Block a user