mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
fix MD pill serialization
This commit is contained in:
@@ -69,7 +69,7 @@ class PlainWithPillsSerializer {
|
|||||||
case 'plain':
|
case 'plain':
|
||||||
return node.data.get('completion');
|
return node.data.get('completion');
|
||||||
case 'md':
|
case 'md':
|
||||||
return `[${ node.text }](${ node.data.get('href') })`;
|
return `[${ node.data.get('completion') }](${ node.data.get('href') })`;
|
||||||
case 'id':
|
case 'id':
|
||||||
return node.data.get('completionId') || node.data.get('completion');
|
return node.data.get('completionId') || node.data.get('completion');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user