fix link label rendering
This commit is contained in:
parent
424a9ce7d1
commit
51b95e272c
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export const Markdown = defineComponent({
|
||||||
return h(MkLink, {
|
return h(MkLink, {
|
||||||
url: node.getAttribute('href'),
|
url: node.getAttribute('href'),
|
||||||
rel: 'nofollow noopener',
|
rel: 'nofollow noopener',
|
||||||
}, node.textContent);
|
}, mapNodes(node.childNodes));
|
||||||
case 'CODE':
|
case 'CODE':
|
||||||
return h(MkCode, {
|
return h(MkCode, {
|
||||||
code: node.innerText,
|
code: node.innerText,
|
||||||
|
|
Loading…
Reference in a new issue