fixed the search url

This commit is contained in:
KevinWh0 2024-05-31 12:19:18 +02:00
parent 4893efae0f
commit 145c4ba132
1 changed files with 142 additions and 142 deletions

View File

@ -637,7 +637,7 @@ export class MfmService {
search: (node) => {
const a = doc.createElement('a');
a.setAttribute('href', `https"google.com/${node.props.query}`);
a.setAttribute('href', `https://www.google.com/search?q=${node.props.query}`);
a.textContent = node.props.content;
return a;
},