From 7f6db77c4f7900d7ca1b967f37f785745ad548a6 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Mon, 11 Jul 2022 15:33:57 +0100 Subject: [PATCH] chore: change quote depth limit to 5 from 3 --- src/components/markdown/RemarkRenderer.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/markdown/RemarkRenderer.tsx b/src/components/markdown/RemarkRenderer.tsx index 3a729e35..fff898ec 100644 --- a/src/components/markdown/RemarkRenderer.tsx +++ b/src/components/markdown/RemarkRenderer.tsx @@ -182,12 +182,7 @@ const Container = styled.div<{ largeEmoji: boolean }>` /** * Regex for matching execessive blockquotes */ -const RE_QUOTE = /(^(?:>\s){3})[>\s]+(.*$)/gm; - -/** - * Regex for matching open angled bracket - */ -const RE_OPEN_BRACKET = /\s){5})[>\s]+(.*$)/gm; /** * Sanitise Markdown input before rendering