Skip to content

Commit 737b4d7

Browse files
authored
Merge pull request #383 from mosu-dev/fix#381
Fix#381 마크다운 줄바꿈 수정
2 parents d5eac4c + 44106fa commit 737b4d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mosu-app/src/entities/posts/ui/MarkDown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const MarkDownRenderer = ({ content, ...props }: MarkDownRendererProps) =
88
return (
99
<article
1010
{...props}
11-
className={cn(props.className, "prose max-w-none [&>h1]:my-1")}
11+
className={cn(props.className, "prose max-w-none [&>h1]:my-1 [&_p]:whitespace-pre-line")}
1212
dangerouslySetInnerHTML={{ __html: content }}
1313
/>
1414
);

0 commit comments

Comments
 (0)