chore: change quote depth limit to 5 from 3

feat/custom-emoji-autocomplete
Paul Makles 2022-07-11 15:33:57 +01:00
parent 924448dc2c
commit 7f6db77c4f
1 changed files with 1 additions and 6 deletions

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