From 948c12525e658050c236097d7a9ad2aacfc78b50 Mon Sep 17 00:00:00 2001 From: zaidmukaddam Date: Wed, 7 Aug 2024 19:51:17 +0530 Subject: [PATCH] chore: Remove double new lines in Home component's content --- app/page.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 652dfc0..56151f0 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -147,9 +147,6 @@ export default function Home() { .replace(boldRegex, '$1') .replace(italicRegex, '$1'); - // Remove double new lines - content = content.replace("\n\n", "") - // Replace unordered and ordered lists content = content .replace(unorderedListRegex, '
  • $1
  • ')