fix: change quote matching Regex

This commit is contained in:
Paul Makles 2022-07-09 17:55:13 +01:00
parent cb6d5a3828
commit 448722225e

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