Resolve #1153
This commit is contained in:
@@ -9,7 +9,7 @@ export type TextElementQuote = {
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
const match = text.match(/^"([\s\S]+?)\n"/);
|
||||
const match = text.match(/^"([\s\S]+?)\n"/) || text.match(/^>([\s\S]+?)\n\n/) || text.match(/^\n>([\s\S]+?)\n\n/) || text.match(/^>([\s\S]+?)$/);
|
||||
if (!match) return null;
|
||||
const quote = match[0];
|
||||
return {
|
||||
|
Reference in New Issue
Block a user