mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
fix: change quote matching Regex
This commit is contained in:
@@ -180,7 +180,7 @@ const Container = styled.div<{ largeEmoji: boolean }>`
|
|||||||
/**
|
/**
|
||||||
* Regex for matching execessive blockquotes
|
* 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
|
* Regex for matching open angled bracket
|
||||||
|
|||||||
Reference in New Issue
Block a user