chore: change quote depth limit to 5 from 3

This commit is contained in:
Paul Makles 2022-07-11 15:33:57 +01:00
parent 924448dc2c
commit 7f6db77c4f

View file

@ -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 = /</g;
const RE_QUOTE = /(^(?:>\s){5})[>\s]+(.*$)/gm;
/**
* Sanitise Markdown input before rendering