fix: change quote matching Regex

This commit is contained in:
Paul Makles
2022-07-09 17:55:13 +01:00
parent 5760fea3ca
commit 18f2e1f8d5

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