Fix MFM parsing
This commit is contained in:
parent
83d168ece3
commit
4b145da046
2 changed files with 7 additions and 1 deletions
|
@ -17,7 +17,8 @@ export default function(text: string, index: number) {
|
|||
const quote = match[1]
|
||||
.split('\n')
|
||||
.map(line => line.replace(/^>+/g, '').trim())
|
||||
.join('\n');
|
||||
.join('\n')
|
||||
.trim();
|
||||
|
||||
return {
|
||||
type: 'quote',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue