support links in RTE

This commit is contained in:
Matthew Hodgson 2018-05-20 00:49:29 +01:00
parent f2116943c8
commit c3a6a41e5d
2 changed files with 30 additions and 3 deletions

View file

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