Refactoring
This commit is contained in:
parent
83dcfec053
commit
08b431723a
4 changed files with 6 additions and 6 deletions
|
|
@ -15,6 +15,6 @@ export default function(text: string) {
|
|||
return {
|
||||
type: 'quote',
|
||||
content: quote,
|
||||
quote: quote.substr(1, quote.length - 2).trim(),
|
||||
quote: match[1].trim(),
|
||||
} as TextElementQuote;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue