fix(markdown): don't allow horizontal lines, they look confusing inside of post content

This commit is contained in:
Tom (plebeius.eth)
2024-08-26 11:45:27 +02:00
parent 733ee597aa
commit 1eb64ede3d
+1 -6
View File
@@ -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);