fix MD pill serialization

This commit is contained in:
Matthew Hodgson 2018-05-20 14:32:20 +01:00
parent c5676eef89
commit 9aba046f21

View file

@ -69,7 +69,7 @@ class PlainWithPillsSerializer {
case 'plain':
return node.data.get('completion');
case 'md':
return `[${ node.text }](${ node.data.get('href') })`;
return `[${ node.data.get('completion') }](${ node.data.get('href') })`;
case 'id':
return node.data.get('completionId') || node.data.get('completion');
}