mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
chore: change quote depth limit to 5 from 3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user