mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 08:30:58 -05:00
fix: change quote matching Regex
This commit is contained in:
parent
cb6d5a3828
commit
448722225e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue