fix: change quote matching Regex

feat/custom-emoji-autocomplete
Paul Makles 2022-07-09 17:55:13 +01:00
parent cb6d5a3828
commit 448722225e
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ const Container = styled.div<{ largeEmoji: boolean }>`
/**
* Regex for matching execessive blockquotes
*/
const RE_QUOTE = /(^[>\s][>\s])[>\s]+([^]+$)/gm;
const RE_QUOTE = /(^(?:>\s){3})[>\s]+(.*$)/gm;
/**
* Regex for matching open angled bracket