fixed the search url
This commit is contained in:
parent
4893efae0f
commit
145c4ba132
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue