From 9aba046f21d67b19b5e3b5c4a13814e919f56446 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 20 May 2018 14:32:20 +0100 Subject: [PATCH] fix MD pill serialization --- src/autocomplete/PlainWithPillsSerializer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }