mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-24 22:52:09 -05:00
chore: change quote depth limit to 5 from 3
This commit is contained in:
parent
924448dc2c
commit
7f6db77c4f
1 changed files with 1 additions and 6 deletions
|
@ -182,12 +182,7 @@ const Container = styled.div<{ largeEmoji: boolean }>`
|
|||
/**
|
||||
* Regex for matching execessive blockquotes
|
||||
*/
|
||||
const RE_QUOTE = /(^(?:>\s){3})[>\s]+(.*$)/gm;
|
||||
|
||||
/**
|
||||
* Regex for matching open angled bracket
|
||||
*/
|
||||
const RE_OPEN_BRACKET = /</g;
|
||||
const RE_QUOTE = /(^(?:>\s){5})[>\s]+(.*$)/gm;
|
||||
|
||||
/**
|
||||
* Sanitise Markdown input before rendering
|
||||
|
|
Loading…
Reference in a new issue