diff --git a/src/autocomplete/PlainWithPillsSerializer.js b/src/autocomplete/PlainWithPillsSerializer.js index 8fa73be6a3..7428241b05 100644 --- a/src/autocomplete/PlainWithPillsSerializer.js +++ b/src/autocomplete/PlainWithPillsSerializer.js @@ -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'); }