mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +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
|
* Regex for matching execessive blockquotes
|
||||||
*/
|
*/
|
||||||
const RE_QUOTE = /(^(?:>\s){3})[>\s]+(.*$)/gm;
|
const RE_QUOTE = /(^(?:>\s){5})[>\s]+(.*$)/gm;
|
||||||
|
|
||||||
/**
|
|
||||||
* Regex for matching open angled bracket
|
|
||||||
*/
|
|
||||||
const RE_OPEN_BRACKET = /</g;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sanitise Markdown input before rendering
|
* Sanitise Markdown input before rendering
|
||||||
|
|||||||
Reference in New Issue
Block a user