fix: match optional whitespace in quote regex
parent
af7cd15681
commit
57ec1d4fbd
|
|
@ -182,7 +182,7 @@ const Container = styled.div<{ largeEmoji: boolean }>`
|
|||
/**
|
||||
* Regex for matching execessive blockquotes
|
||||
*/
|
||||
const RE_QUOTE = /(^(?:>\s){5})[>\s]+(.*$)/gm;
|
||||
const RE_QUOTE = /(^(?:>\s?){5})[>\s?]+(.*$)/gm;
|
||||
|
||||
/**
|
||||
* Sanitise Markdown input before rendering
|
||||
|
|
|
|||
Loading…
Reference in New Issue